summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-09-08 12:05:10 +0000
committerwiz <wiz@pkgsrc.org>2014-09-08 12:05:10 +0000
commitd63a810dbf819795d469957d43403f7be9d6f719 (patch)
treea76717ce6c630f22d68615ebc9cbb4e7e590d397 /pkgtools
parent7b9e9e2f08e1f602e849a66bcf06a9b227616a8c (diff)
downloadpkgsrc-d63a810dbf819795d469957d43403f7be9d6f719.tar.gz
Allow -std= in compiler flags.
Ride bump.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 3855ee03d76..91beb013e9a 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.869 2014/09/08 12:03:32 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.870 2014/09/08 12:05:10 wiz Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -3897,7 +3897,7 @@ sub checkline_mk_vartype_basic($$$$$$$$) {
# Only works on IRIX, but is usually enclosed with
# the proper preprocessor conditional.
- } elsif ($value =~ m"^-[OWfgm]") {
+ } elsif ($value =~ m"^-[OWfgm]|^-std=.*") {
$opt_debug_unchecked and $line->log_debug("Unchecked compiler flag ${value} in ${varname}.");
} elsif ($value =~ m"^-.*") {