mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-12 23:33:21 +00:00
tcsh: fix compile error after LDFLAGS change
Adding -f*-prefix-map to LDFLAGS caused the following issue when compiling tcsh on Ubuntu 18.04: gcc: error: unrecognized command line option ‘-fmacro-prefix-map=...’ Fix by using BUILD_LDFLAGS instead of LDFLAGS for gethost. [YOCTO #14481] Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
7fd9678e64
commit
48596d4db3
@ -20,7 +20,7 @@ EXTRA_OEMAKE += "CC_FOR_GETHOST='${BUILD_CC}'"
|
|||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
do_compile:prepend() {
|
do_compile:prepend() {
|
||||||
oe_runmake CC_FOR_GETHOST='${BUILD_CC}' CFLAGS='${BUILD_CFLAGS}' gethost
|
oe_runmake CC_FOR_GETHOST='${BUILD_CC}' CFLAGS='${BUILD_CFLAGS}' LDFLAGS='${BUILD_LDFLAGS}' gethost
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install:append () {
|
do_install:append () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user