pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/wrapper Added a slight variation of the patch provi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96f1d66f6d40
branches:  trunk
changeset: 529705:96f1d66f6d40
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jun 09 11:27:33 2007 +0000

description:
Added a slight variation of the patch provided in PR 36187 by Naoto
Morishima.

diffstat:

 mk/wrapper/transform-sunpro-cc |  17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r 6dcd1a0019fc -r 96f1d66f6d40 mk/wrapper/transform-sunpro-cc
--- a/mk/wrapper/transform-sunpro-cc    Sat Jun 09 11:05:00 2007 +0000
+++ b/mk/wrapper/transform-sunpro-cc    Sat Jun 09 11:27:33 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.25 2007/02/07 18:25:29 rillig Exp $
+# $NetBSD: transform-sunpro-cc,v 1.26 2007/06/09 11:27:33 rillig Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -133,15 +133,18 @@
 
 #-xc99         ) transform_to_and_split "-xc99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" ;;
 
+# Ignore some flags that are unnecessary for SunPro.
+-ansi          |\
+-fPIE          |\
+-fpie          |\
+-pedantic      |\
+-pie           |\
+-pipe          |\
+-traditional   ) transform_discard ;;
+
 # Ignore all other -f flags.
 -f*            ) transform_discard_with_warning ;;
 
-# Ignore some flags that are unnecessary for SunPro.
--ansi          |\
--pedantic      |\
--pipe          |\
--traditional   ) transform_discard ;;
-
 # Unknown options.
 -*             ) transform_pass_with_warning ;;
 



Home | Main Index | Thread Index | Old Index