diff options
author | jperkin <jperkin> | 2012-07-23 11:58:41 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2012-07-23 11:58:41 +0000 |
commit | 02f877d3b54170427bfd91a9e21e5250fe090b61 (patch) | |
tree | 6795ab27bfc5fddc7a501156f6b09e5cb08b05d9 /mk | |
parent | 4f315fed54b1703564ae88ce33386ee15082ecf8 (diff) | |
download | pkgsrc-02f877d3b54170427bfd91a9e21e5250fe090b61.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 |\ |