summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-02 17:38:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-05 15:50:19 +0000
commit8ae183d517f9061457e73f94028acb55d9e9a620 (patch)
treedd6460cc7cf2c47baffb89ed3a67c00148545385 /meta
parentc2a17dcc86b7f1b59fd1880dccbbe8f1a9678af1 (diff)
downloadpoky-8ae183d517f9061457e73f94028acb55d9e9a620.tar.gz
bitbake.conf: Drop -fpermissive
Drop the -fpermissive C++ compiler flag. We've had this around for years, most code should have been fixed long ago. Its possible some recipes may fail however we can (and should) just use the flag where needed. An OE-Core world build seems to work just fine with this change. (From OE-Core rev: 24dd8e129447013ee98609f3892ec414b1b21340) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f81dea6180..4879aa289b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -498,9 +498,9 @@ BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}"
498export CFLAGS = "${TARGET_CFLAGS}" 498export CFLAGS = "${TARGET_CFLAGS}"
499export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" 499export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
500 500
501export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" 501export BUILD_CXXFLAGS = "${BUILD_CFLAGS}"
502export CXXFLAGS = "${TARGET_CXXFLAGS}" 502export CXXFLAGS = "${TARGET_CXXFLAGS}"
503export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" 503export TARGET_CXXFLAGS = "${TARGET_CFLAGS}"
504 504
505export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ 505export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
506 -L${STAGING_BASE_LIBDIR_NATIVE} \ 506 -L${STAGING_BASE_LIBDIR_NATIVE} \