pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper sunpro doesn't know -ggdb.
details: https://anonhg.NetBSD.org/pkgsrc/rev/43a6f623cc3f
branches: trunk
changeset: 534824:43a6f623cc3f
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Nov 01 14:31:03 2007 +0000
description:
sunpro doesn't know -ggdb.
diffstat:
mk/wrapper/transform-sunpro-cc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 208482c3a637 -r 43a6f623cc3f mk/wrapper/transform-sunpro-cc
--- a/mk/wrapper/transform-sunpro-cc Thu Nov 01 13:12:48 2007 +0000
+++ b/mk/wrapper/transform-sunpro-cc Thu Nov 01 14:31:03 2007 +0000
@@ -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 @@
-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 |\
Home |
Main Index |
Thread Index |
Old Index