diff options
author | wiz <wiz@pkgsrc.org> | 2014-09-08 12:05:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-09-08 12:05:10 +0000 |
commit | 24a9585bbc559f97f221d9118d42fc004b78bc1f (patch) | |
tree | a76717ce6c630f22d68615ebc9cbb4e7e590d397 /pkgtools | |
parent | db7839a47ae6d0671ae225c883a7654eda0742b8 (diff) | |
download | pkgsrc-24a9585bbc559f97f221d9118d42fc004b78bc1f.tar.gz |
Allow -std= in compiler flags.
Ride bump.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
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"^-.*") { |