diff options
author | rillig <rillig@pkgsrc.org> | 2007-06-09 11:27:33 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-06-09 11:27:33 +0000 |
commit | cde3173fdd1c216a9c73bbc92e189d1d78a422df (patch) | |
tree | 41095473c504b7793217b0e5cde197bf5c5eb260 /mk | |
parent | ad8a35c0b706b4056d13555184c15e66756f7641 (diff) | |
download | pkgsrc-cde3173fdd1c216a9c73bbc92e189d1d78a422df.tar.gz |
Added a slight variation of the patch provided in PR 36187 by Naoto
Morishima.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/transform-sunpro-cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc index 174cfcb14e9..42a9c1f9bd6 100644 --- a/mk/wrapper/transform-sunpro-cc +++ b/mk/wrapper/transform-sunpro-cc @@ -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 @@ case $arg in #-xc99 ) transform_to_and_split "-xc99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" ;; -# Ignore all other -f flags. --f* ) transform_discard_with_warning ;; - # 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 ;; + # Unknown options. -* ) transform_pass_with_warning ;; |