summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-06 20:26:51 +0000
committerrillig <rillig@pkgsrc.org>2007-02-06 20:26:51 +0000
commitf705bc4de846050fc0ee4765e09eedbacecaf5ca (patch)
treef3d80d7c8d2a2967884ded211f008983896ab23c /mk/wrapper
parente744e0972999b0eccf0efa3c350cdbbb3998b585 (diff)
downloadpkgsrc-f705bc4de846050fc0ee4765e09eedbacecaf5ca.tar.gz
Some more gcc options I've found on Solaris.
Diffstat (limited to 'mk/wrapper')
-rw-r--r--mk/wrapper/transform-gcc7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/wrapper/transform-gcc b/mk/wrapper/transform-gcc
index 08f74c0fbef..21149df4566 100644
--- a/mk/wrapper/transform-gcc
+++ b/mk/wrapper/transform-gcc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-gcc,v 1.12 2007/02/06 19:35:41 rillig Exp $
+# $NetBSD: transform-gcc,v 1.13 2007/02/06 20:26:51 rillig Exp $
#
# This file handles the transformations needed for gcc that can be done
# looking at only one argument at a time.
@@ -36,12 +36,15 @@ case $arg in
-fno-strict-aliasing |\
-fomit-frame-pointer |\
-fPIC |\
+-fpcc-struct-return |\
+-freg-struct-return |\
-fsigned-char |\
-funroll-loops |\
-funsigned-char |\
-ggdb |\
-M |\
-M[DFMPT] |\
+-m64 |\
-MMD |\
-mcpu=* |\
-mieee-fp |\
@@ -56,6 +59,7 @@ case $arg in
-shared |\
-static |\
-std=c99 |\
+-std=gnu89 |\
-std=gnu99 |\
-W |\
-W[cLlS],* |\
@@ -93,6 +97,7 @@ case $arg in
-Wstrict-aliasing |\
-Wstrict-prototypes |\
-Wswitch |\
+-Wunused |\
-Wundef |\
-Wwrite-strings ) transform_pass ;;