mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
orrery: Pass OE provided cflags
Drop Makefiles from packaging /usr/share as a result of mass copy Fixes WARNING: orrery-2.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/orrery in package orrery-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
3b73aba951
commit
399a48770b
|
|
@ -0,0 +1,28 @@
|
|||
From e13f15205425c67e1101031a33107fa9cd2d65f9 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 26 May 2023 10:32:53 -0700
|
||||
Subject: [PATCH] Append cflags instead of overriding in Makefile.am
|
||||
|
||||
Fixes
|
||||
WARNING: orrery-2.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/orrery in package orrery-dbg contains reference to TMPDIR [buildpaths]
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index b64449f..23637b3 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-CFLAGS = -g -O3 -Wall
|
||||
+CFLAGS += -g -O3 -Wall
|
||||
|
||||
bin_PROGRAMS = orrery
|
||||
orrery_SOURCES = planetInfo.c orrery.c orrery.h phaseConstants.h
|
||||
--
|
||||
2.40.1
|
||||
|
||||
|
|
@ -13,6 +13,7 @@ SRC_URI = "http://projects.openmoko.org/frs/download.php/923/orrery_2.7_clean.ta
|
|||
file://orrery.png \
|
||||
file://use.GdkPixbuf.patch \
|
||||
file://0001-orrery-Fix-sprintf-format.patch \
|
||||
file://0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "bd62a33e7554ee1030313dfcdefcda8b"
|
||||
|
|
@ -22,7 +23,7 @@ S = "${WORKDIR}/${BPN}"
|
|||
|
||||
do_configure:prepend() {
|
||||
# fix DSO issue with binutils-2.22
|
||||
sed -i 's/ -lrt/ -lrt -lm/g' ${S}/Makefile.am
|
||||
sed -i 's/ -lrt$/ -lrt -lm/g' ${S}/Makefile.am
|
||||
}
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/orrery
|
||||
|
|
@ -30,6 +31,7 @@ do_install:append() {
|
|||
chown -R root:root ${D}${datadir}/orrery
|
||||
install -d ${D}${datadir}/icons
|
||||
install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons
|
||||
rm -rf ${D}${datadir}/orrery/Makefile*
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/icons/orrery.png"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user