summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-03-02 20:46:53 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-03-02 21:15:50 -0500
commitc47e32e38f12c56c3098cb7845b451787467f03c (patch)
treea1f50f2b171faab41233d28cb7a079a72c358382 /hints
parent36dc805b1fb2aef46ec1540d4b768d64fbb52e22 (diff)
downloadperl-c47e32e38f12c56c3098cb7845b451787467f03c.tar.gz
Tru64: living dangerously, enabling the -c99 flag for cc
16 years after C99 and 2 years after Tru64 EOL.
Diffstat (limited to 'hints')
-rw-r--r--hints/dec_osf.sh17
1 files changed, 1 insertions, 16 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index a9ffe2eec6..f0b772631f 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -167,22 +167,7 @@ EOF
*"-c99: Unknown flag"*)
_ccflags_strict_ansi="-std1"
;;
- *) # However, use the -c99 only if compiling for
- # -DPERL_MEM_LOG, where the C99 feature __func__
- # is useful to have. Otherwise use the good old
- # -std1 so that we stay C89 strict, which the goal
- # of the Perl C code base (no //, no code between
- # declarations, etc). Moreover, the Tru64 cc is
- # not fully C99, and most probably never will be.
- #
- # The -DPERL_MEM_LOG can be either in ccflags
- # (if using an old config.sh) or in the command line
- # (which has been stowed away in UU/cmdline.opt).
- #
- case "$ccflags `cat UU/cmdline.opt`" in
- *-DPERL_MEM_LOG*) _ccflags_strict_ansi="-c99" ;;
- *) _ccflags_strict_ansi="-std1" ;;
- esac
+ *) _ccflags_strict_ansi="-c99"
;;
esac
_lddlflags_strict_ansi="-std1"