pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Add C99 support, required for packages whi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/580faf45d33c
branches: trunk
changeset: 529030:580faf45d33c
user: sketch <sketch%pkgsrc.org@localhost>
date: Wed May 23 08:42:36 2007 +0000
description:
Add C99 support, required for packages which use C99 such as devel/glib2
diffstat:
mk/compiler/sunpro.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 31c960c8541b -r 580faf45d33c mk/compiler/sunpro.mk
--- a/mk/compiler/sunpro.mk Wed May 23 08:12:19 2007 +0000
+++ b/mk/compiler/sunpro.mk Wed May 23 08:42:36 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro.mk,v 1.40 2007/03/09 10:58:20 rillig Exp $
+# $NetBSD: sunpro.mk,v 1.41 2007/05/23 08:42:36 sketch Exp $
#
# This is the compiler definition for the SUNWspro C compiler.
#
@@ -44,6 +44,11 @@
. endfor
.endfor
+# Turn on C99 support if required
+.if !empty(USE_LANGUAGES:Mc99)
+_WRAP_EXTRA_ARGS.CC+= -xc99
+.endif
+
# The Solaris linker uses "-R" for rpath directives.
_LINKER_RPATH_FLAG= -R
Home |
Main Index |
Thread Index |
Old Index