[oe-commits] Richard Purdie : bitbake.conf: Drop -fpermissive

git at git.openembedded.org git at git.openembedded.org
Sun Mar 2 17:39:26 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 37a96c6df93ba360d4495fba2a06d7836bc879d2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=37a96c6df93ba360d4495fba2a06d7836bc879d2

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sun Mar  2 17:38:33 2014 +0000

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f81dea6..4879aa2 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -498,9 +498,9 @@ BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}"
 export CFLAGS = "${TARGET_CFLAGS}"
 export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
 
-export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive"
+export BUILD_CXXFLAGS = "${BUILD_CFLAGS}"
 export CXXFLAGS = "${TARGET_CXXFLAGS}"
-export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive"
+export TARGET_CXXFLAGS = "${TARGET_CFLAGS}"
 
 export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
                         -L${STAGING_BASE_LIBDIR_NATIVE} \



More information about the Openembedded-commits mailing list