summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-18 09:06:26 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-18 14:14:28 -0400
commitfae2e96056d70d1922a44b0166c5c36a43da092d (patch)
treec269900bbcb554912d52b43814715001b2e66474 /cflags.SH
parentd2d4920436bb51d6c73fd2bcc6e942f68f22269d (diff)
downloadperl-fae2e96056d70d1922a44b0166c5c36a43da092d.tar.gz
-Wendif-labels is actually the default.
Has been AFAICT for years / always, the documentation just had it wrong in pre-4.0 gccs.
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/cflags.SH b/cflags.SH
index 21f1bbb22a..abf721f75d 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -164,7 +164,7 @@ Intel*) ;; # # Is that you, Intel C++?
# since -std=c89 -pedantic implies the -Werror=...
*) for opt in -ansi -std=c89 -W -Wextra \
-Werror=declaration-after-statement \
- -Wendif-labels -Wc++-compat -Wwrite-strings
+ -Wc++-compat -Wwrite-strings
do
case " $ccflags " in
*" $opt "*) ;; # Skip if already there.