Browse Source

meta-environment{,-extsdk}: don't include -B${gcc_bindir} in emitted TUNE_CC_ARCH

Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently
to TARGET_CC_ARCH, since it consists of local machine toolchain paths.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Serge Semin 6 years ago
parent
commit
5efde7bd40

+ 4 - 0
core/recipes-core/meta/meta-environment-extsdk.bbappend

@@ -0,0 +1,4 @@
+
+# Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently
+# to TARGET_CC_ARCH, since it consists of local machine toolchain paths.
+TUNE_CCARGS_remove = "-B${gcc_bindir}"

+ 4 - 0
core/recipes-core/meta/meta-environment.bbappend

@@ -0,0 +1,4 @@
+
+# Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently
+# to TARGET_CC_ARCH, since it consists of local machine toolchain paths.
+TUNE_CCARGS_remove = "-B${gcc_bindir}"