[BACK]Return to patch-cflags.SH CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / perl5 / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / perl5 / patches / Attic / patch-cflags.SH (download)

Revision 1.2, Mon Jan 15 10:07:50 2018 UTC (6 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.1: +3 -3 lines

perl5: Don't add -ansi either.

$NetBSD: patch-cflags.SH,v 1.2 2018/01/15 10:07:50 jperkin Exp $

Don't add -std=c89 or -ansi, requires c99.

--- cflags.SH.orig	2017-07-18 22:49:30.000000000 +0000
+++ cflags.SH
@@ -186,7 +186,7 @@ Intel*) ;; # # Is that you, Intel C++?
 # -std=c89 before -ansi
 # -pedantic* before -Werror=d-a-s
 #
-*)  for opt in -std=c89 -ansi $pedantic \
+*)  for opt in $pedantic \
 		-Werror=declaration-after-statement \
 		-Wextra -W \
 		-Wc++-compat -Wwrite-strings