mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
crosssdk: Remove usage of host flags for cross-compilation
Similarlly to OE-Core rev 4b936cde58ca0a6f34092ce82640a02859110411 for cross.sdk, BUILD_* flags can't be used as TARGET_* flags gcc-crosssdk buils leaks config.log's through "gcc-stashed-builddir" and TARGET_* flags to libgcc cross-build through "gcc/libgcc.mvars" file on "gcc-stashed-builddir". This means that if BUILD_CFLAGS contains host-specific flags like "-isystem/usr/include" libgcc build will fail "do_qa_configure" and "do_package_qa" checks. Remove host-related flags from TARGET_* flags for gcc-crosssdk builds. [YOCTO #11874] (From OE-Core rev: 6e162e619b6f5173c073cd9bedbcadf205017e30) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e06de80a61
commit
d21cf7ca12
|
@ -21,10 +21,10 @@ TARGET_PREFIX = "${SDK_PREFIX}"
|
|||
TARGET_CC_ARCH = "${SDK_CC_ARCH}"
|
||||
TARGET_LD_ARCH = "${SDK_LD_ARCH}"
|
||||
TARGET_AS_ARCH = "${SDK_AS_ARCH}"
|
||||
TARGET_CPPFLAGS = "${BUILD_CPPFLAGS}"
|
||||
TARGET_CFLAGS = "${BUILD_CFLAGS}"
|
||||
TARGET_CXXFLAGS = "${BUILD_CXXFLAGS}"
|
||||
TARGET_LDFLAGS = "${BUILD_LDFLAGS}"
|
||||
TARGET_CPPFLAGS = ""
|
||||
TARGET_CFLAGS = ""
|
||||
TARGET_CXXFLAGS = ""
|
||||
TARGET_LDFLAGS = ""
|
||||
TARGET_FPU = ""
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user