summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-01 14:31:03 +0000
committerrillig <rillig@pkgsrc.org>2007-11-01 14:31:03 +0000
commit5fba458aef0199406784abe58d49dfa2b01086f5 (patch)
treef5b816c753f94210eb2dc07d652401ecdec0a4eb /mk/wrapper
parent02052152d3cf03cdc5d06d2d2e5dc6bc148001fd (diff)
downloadpkgsrc-5fba458aef0199406784abe58d49dfa2b01086f5.tar.gz
sunpro doesn't know -ggdb.
Diffstat (limited to 'mk/wrapper')
-rw-r--r--mk/wrapper/transform-sunpro-cc5
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 |\