diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-07-23 11:58:41 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-07-23 11:58:41 +0000 |
commit | 4696242ad07d863fbd56ead49de5cf69a7662164 (patch) | |
tree | 6795ab27bfc5fddc7a501156f6b09e5cb08b05d9 /mk | |
parent | 582c2617c80a2ac8df2bce956422a5bbd765f851 (diff) | |
download | pkgsrc-4696242ad07d863fbd56ead49de5cf69a7662164.tar.gz |
Pass through -specs, as used by devel/binutils/override-as.mk
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/transform-gcc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/wrapper/transform-gcc b/mk/wrapper/transform-gcc index 51cc9d57dd0..fe30339252f 100644 --- a/mk/wrapper/transform-gcc +++ b/mk/wrapper/transform-gcc @@ -1,4 +1,4 @@ -# $NetBSD: transform-gcc,v 1.27 2012/06/08 11:39:44 obache Exp $ +# $NetBSD: transform-gcc,v 1.28 2012/07/23 11:58:41 jperkin Exp $ # # This file handles the transformations needed for gcc that can be done # looking at only one argument at a time. @@ -18,6 +18,10 @@ case $arg in -v |\ --version ) transform_pass ;; +# We occasionally override specs to force particular options. +-specs=* |\ +-specs ) transform_pass ;; + # GCC extensions. - |\ -dynamic |\ |