pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 also ignore -pedantic, SunPro doesn't ne...
details: https://anonhg.NetBSD.org/pkgsrc/rev/471160239f4d
branches: trunk
changeset: 468788:471160239f4d
user: grant <grant%pkgsrc.org@localhost>
date: Mon Feb 16 22:22:38 2004 +0000
description:
also ignore -pedantic, SunPro doesn't need to be told ;-)
diffstat:
mk/buildlink3/sunpro-cc-post-cache | 4 ++--
mk/buildlink3/sunpro-cc-post-logic | 7 ++++++-
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 4bc3221aa7f0 -r 471160239f4d mk/buildlink3/sunpro-cc-post-cache
--- a/mk/buildlink3/sunpro-cc-post-cache Mon Feb 16 22:20:01 2004 +0000
+++ b/mk/buildlink3/sunpro-cc-post-cache Mon Feb 16 22:22:38 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro-cc-post-cache,v 1.5 2004/02/16 12:18:15 grant Exp $
+# $NetBSD: sunpro-cc-post-cache,v 1.6 2004/02/16 22:22:38 grant Exp $
#
# This file implements the default action of the "cc" private cache
# for the SunPro suite of compilers, and tells the wrapper to skip the
@@ -6,7 +6,7 @@
# can't handle; they will instead by handled directly by
# sunpro-cc-post-logic.
--[OW]*|-ansi|-f[pP][iI][cC]|-shared)
+-[OW]*|-ansi|-f[pP][iI][cC]|-pedantic|-shared)
skipcache=yes
;;
esac
diff -r 4bc3221aa7f0 -r 471160239f4d mk/buildlink3/sunpro-cc-post-logic
--- a/mk/buildlink3/sunpro-cc-post-logic Mon Feb 16 22:20:01 2004 +0000
+++ b/mk/buildlink3/sunpro-cc-post-logic Mon Feb 16 22:22:38 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro-cc-post-logic,v 1.5 2004/02/16 12:18:15 grant Exp $
+# $NetBSD: sunpro-cc-post-logic,v 1.6 2004/02/16 22:22:38 grant Exp $
#
# Silently accept some GCC compiler arguments by silently converting
# them to the SunPro compiler equivalents. This makes the SunPro
@@ -46,6 +46,11 @@
arg=-Kpic
addtoprivatecache=yes
;;
+-pedantic)
+ # No flag is required for SunPro to be pedantic.
+ arg=
+ addtoprivatecache=yes
+ ;;
-shared)
# Solaris' linker uses -G to create shared objects.
#
Home |
Main Index |
Thread Index |
Old Index