diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-01 14:31:03 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-01 14:31:03 +0000 |
commit | 5fba458aef0199406784abe58d49dfa2b01086f5 (patch) | |
tree | f5b816c753f94210eb2dc07d652401ecdec0a4eb /mk/wrapper | |
parent | 02052152d3cf03cdc5d06d2d2e5dc6bc148001fd (diff) | |
download | pkgsrc-5fba458aef0199406784abe58d49dfa2b01086f5.tar.gz |
sunpro doesn't know -ggdb.
Diffstat (limited to 'mk/wrapper')
-rw-r--r-- | mk/wrapper/transform-sunpro-cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc index 42a9c1f9bd6..02d38dee00d 100644 --- a/mk/wrapper/transform-sunpro-cc +++ b/mk/wrapper/transform-sunpro-cc @@ -1,4 +1,4 @@ -# $NetBSD: transform-sunpro-cc,v 1.26 2007/06/09 11:27:33 rillig Exp $ +# $NetBSD: transform-sunpro-cc,v 1.27 2007/11/01 14:31:03 rillig Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -131,8 +131,11 @@ case $arg in -xstrconst |\ -xtarget=* ) transform_pass ;; +#-std=gnu99 ) transform_to "-xc99" ;; #-xc99 ) transform_to_and_split "-xc99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" ;; +-ggdb ) transform_to "-g" ;; + # Ignore some flags that are unnecessary for SunPro. -ansi |\ -fPIE |\ |