pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper Oops, unknown options should be _passed_ to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a12b02ec702
branches: trunk
changeset: 521890:8a12b02ec702
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Nov 26 10:00:04 2006 +0000
description:
Oops, unknown options should be _passed_ to the real compiler, not
_discarded_.
diffstat:
mk/wrapper/transform-gcc | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 70c40bff5afa -r 8a12b02ec702 mk/wrapper/transform-gcc
--- a/mk/wrapper/transform-gcc Sun Nov 26 09:56:46 2006 +0000
+++ b/mk/wrapper/transform-gcc Sun Nov 26 10:00:04 2006 +0000
@@ -1,7 +1,10 @@
-# $NetBSD: transform-gcc,v 1.1 2006/11/26 09:56:46 rillig Exp $
+# $NetBSD: transform-gcc,v 1.2 2006/11/26 10:00:04 rillig Exp $
#
+# This file prints warning messages for all obscure gcc options into the
+# wrapper log file.
transform_setname "transform-gcc"
+
case $arg in
-c|\
-D?*|\
@@ -34,9 +37,8 @@
-Wstrict-prototypes|\
-Wswitch|\
-Wwrite-strings)
- transform_pass
- ;;
+ transform_pass ;;
+
-*)
- transform_discard_with_warning
- ;;
+ transform_pass_with_warning ;;
esac
Home |
Main Index |
Thread Index |
Old Index