diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-02 17:38:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:50:19 +0000 |
commit | 8ae183d517f9061457e73f94028acb55d9e9a620 (patch) | |
tree | dd6460cc7cf2c47baffb89ed3a67c00148545385 /meta/conf/bitbake.conf | |
parent | c2a17dcc86b7f1b59fd1880dccbbe8f1a9678af1 (diff) | |
download | poky-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/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
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}" | |||
498 | export CFLAGS = "${TARGET_CFLAGS}" | 498 | export CFLAGS = "${TARGET_CFLAGS}" |
499 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | 499 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" |
500 | 500 | ||
501 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" | 501 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS}" |
502 | export CXXFLAGS = "${TARGET_CXXFLAGS}" | 502 | export CXXFLAGS = "${TARGET_CXXFLAGS}" |
503 | export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" | 503 | export TARGET_CXXFLAGS = "${TARGET_CFLAGS}" |
504 | 504 | ||
505 | export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ | 505 | export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ |
506 | -L${STAGING_BASE_LIBDIR_NATIVE} \ | 506 | -L${STAGING_BASE_LIBDIR_NATIVE} \ |