aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2005-04-16 09:51:48 +0000
committerReuben Thomas <rrt@sc3d.org>2005-04-16 09:51:48 +0000
commitde3960456368cde2d9f80f418f4d9bcfd0a8858c (patch)
tree187f5f85161dfb2015e6e63d78a7d150a6679a19 /conf
parent6003d0888d85e61c05fc63b4465bf95a4db93002 (diff)
downloadplptools-de3960456368cde2d9f80f418f4d9bcfd0a8858c.tar.gz
plptools-de3960456368cde2d9f80f418f4d9bcfd0a8858c.tar.bz2
plptools-de3960456368cde2d9f80f418f4d9bcfd0a8858c.zip
Remove flags that can't be used with g++.
Diffstat (limited to 'conf')
-rw-r--r--conf/m4/plptools/PLP_CHECK_COMPILERS.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4
index 6797a58..21135cf 100644
--- a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4
+++ b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4
@@ -80,7 +80,7 @@ AC_DEFUN([PLP_CHECK_COMPILERS],
if test "$GXX" = "yes"; then
if test "$plp_use_debug_code" = "yes"; then
- CXXFLAGS="-g -Wpointer-arith -Wmissing-prototypes $CXXFLAGS"
+ CXXFLAGS="-g -Wpointer-arith $CXXFLAGS"
PLP_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"])
PLP_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"])
@@ -88,7 +88,7 @@ AC_DEFUN([PLP_CHECK_COMPILERS],
case $host in dnl
*-*-linux-gnu)
- CXXFLAGS="-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wundef $CXXFLAGS"
+ CXXFLAGS="-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wundef $CXXFLAGS"
;;
esac