summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-08 03:02:35 +0300
committerSteve Peters <steve@fisharerojo.org>2006-08-08 03:55:13 +0000
commit666ea1927d03c6430ac8120e8603244e721e20a0 (patch)
tree825978bf91e0470887834b60aeb5ca5815ec39ed /cflags.SH
parent0ec9ad96b741d60d5dad460acf757c031b11fe15 (diff)
downloadperl-666ea1927d03c6430ac8120e8603244e721e20a0.tar.gz
g++ stage 1 reached
Message-ID: <44D7AA6B.4040802@iki.fi> p4raw-id: //depot/perl@28674
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH4
1 files changed, 4 insertions, 0 deletions
diff --git a/cflags.SH b/cflags.SH
index 41e004007a..cc369d9ccd 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -224,6 +224,10 @@ for file do
*) ;;
esac
+case "$cc" in
+*g++*) ccflags="`echo $ccflags|sed 's/-Wdeclaration-after-statement/ /'`" ;;
+esac
+
if test -f .patch; then
ccflags="-DPERL_PATCHNUM=`cat .patch` $ccflags"
fi