mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
lshw: Pass OE cflags via RPM_OPT_FLAGS
These flags are needed to edit absolute build paths which get encoded for debug informaiton etc. Fixes WARNING: lshw-02.19.2+gitAUTOINC+42fef56573-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/lshw in package lshw-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ PACKAGECONFIG[sqlite] = "SQLITE=1,SQLITE=0,sqlite3"
|
|||||||
PACKAGECONFIG[zlib] = "ZLIB=1,ZLIB=0,zlib gzip-native"
|
PACKAGECONFIG[zlib] = "ZLIB=1,ZLIB=0,zlib gzip-native"
|
||||||
|
|
||||||
# use the PACKAGECONFIG configurations arguments
|
# use the PACKAGECONFIG configurations arguments
|
||||||
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
|
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS} RPM_OPT_FLAGS='${CFLAGS}'"
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
# build core only - don't ship gui
|
# build core only - don't ship gui
|
||||||
|
|||||||
Reference in New Issue
Block a user