From 4696242ad07d863fbd56ead49de5cf69a7662164 Mon Sep 17 00:00:00 2001 From: jperkin Date: Mon, 23 Jul 2012 11:58:41 +0000 Subject: Pass through -specs, as used by devel/binutils/override-as.mk --- mk/wrapper/transform-gcc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk') 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 |\ -- cgit v1.2.3