From b7642344f09e2f09c4013968d0a05d143c205698 Mon Sep 17 00:00:00 2001 From: jperkin Date: Mon, 23 Jul 2012 11:58:41 +0000 Subject: [PATCH] Pass through -specs, as used by devel/binutils/override-as.mk --- mk/wrapper/transform-gcc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mk/wrapper/transform-gcc b/mk/wrapper/transform-gcc index 51cc9d57dd00..fe30339252f6 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 |\