summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-04 11:58:27 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-08-07 08:15:39 +0000
commit10edeb5d2457364a70a6848a864cfa6b89dfc882 (patch)
tree901034210efd6983fe16b782168144371eb95631 /cflags.SH
parent435fbc73c32c7bd8a6a0cdb8a1ea0ca077918585 (diff)
downloadperl-10edeb5d2457364a70a6848a864cfa6b89dfc882.tar.gz
g++ large patch
Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH12
1 files changed, 4 insertions, 8 deletions
diff --git a/cflags.SH b/cflags.SH
index c32d5f8cc9..41e004007a 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -94,16 +94,12 @@ case "$cc" in
*g++*) warn="`echo $warn|sed 's/-Wdeclaration-after-statement/ /'`" ;;
esac
-extra=''
+# stdflags currently unused.
+stdflags=''
-# C and C++ have different rules for const strings;
-# without the -fno-const-strings g++ cannot handle our habit
-# of mixing char literals and char pointers.
-case "$cc" in
-*g++*) extra="$extra -fno-const-strings" ;;
-esac
+extra=''
-stdflags=''
+# Code to set any extra flags here.
echo "Extracting cflags (with variable substitutions)"
: This section of the file will have variable substitutions done on it.