From 5fba458aef0199406784abe58d49dfa2b01086f5 Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 1 Nov 2007 14:31:03 +0000 Subject: sunpro doesn't know -ggdb. --- mk/wrapper/transform-sunpro-cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc index 42a9c1f9bd6..02d38dee00d 100644 --- a/mk/wrapper/transform-sunpro-cc +++ b/mk/wrapper/transform-sunpro-cc @@ -1,4 +1,4 @@ -# $NetBSD: transform-sunpro-cc,v 1.26 2007/06/09 11:27:33 rillig Exp $ +# $NetBSD: transform-sunpro-cc,v 1.27 2007/11/01 14:31:03 rillig Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -131,8 +131,11 @@ case $arg in -xstrconst |\ -xtarget=* ) transform_pass ;; +#-std=gnu99 ) transform_to "-xc99" ;; #-xc99 ) transform_to_and_split "-xc99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" ;; +-ggdb ) transform_to "-g" ;; + # Ignore some flags that are unnecessary for SunPro. -ansi |\ -fPIE |\ -- cgit v1.2.3