diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-12-10 00:25:48 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-12-10 00:25:48 +0100 |
commit | fc4d1bf65fbde3e791b8e3d564b0daab287e3018 (patch) | |
tree | e6fe019fa529a814859d587432f92497a44498d6 /config | |
parent | 288ac9d627df92cfcffdc28180f0f19ef18a4cf8 (diff) | |
download | crosstool-ng-fc4d1bf65fbde3e791b8e3d564b0daab287e3018.tar.gz crosstool-ng-fc4d1bf65fbde3e791b8e3d564b0daab287e3018.tar.bz2 crosstool-ng-fc4d1bf65fbde3e791b8e3d564b0daab287e3018.zip |
complibs/ppl: fix build with newer gcc
ppl-0.10.x does not build with gcc-4.6+, as it uses constructs that were
warnings with gcc-4.5 and before, but are now errors with gcc-4.6 and
above.
Fix that by passing -fpermissive in CFLAGS for ppl 0.10.
Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr>
Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'config')
-rw-r--r-- | config/companion_libs/ppl.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/companion_libs/ppl.in b/config/companion_libs/ppl.in index a6d4f70a..1861e7a5 100644 --- a/config/companion_libs/ppl.in +++ b/config/companion_libs/ppl.in @@ -24,6 +24,7 @@ config PPL_V_0_11 config PPL_V_0_10_2 bool prompt "0.10.2" + select PPL_NEEDS_FPERMISSIVE endchoice @@ -36,6 +37,11 @@ config PPL_VERSION default "0.11" if PPL_V_0_11 default "0.10.2" if PPL_V_0_10_2 +# For PPL 0.10, we need -fpermissive to build on gcc 4.7+ +# (even gcc-4.6+ ?) +config PPL_NEEDS_FPERMISSIVE + bool + # For PPL 0.11, we need to pull libpwl if configured static config PPL_0_11 bool |