From 7a1cf5a36f82ffe52c735856dea4d6bfa3acd4bb Mon Sep 17 00:00:00 2001 From: jschauma Date: Wed, 12 May 2004 21:31:50 +0000 Subject: If ABI is set, LDFLAGS also needs the proper flag. --- mk/compiler/gcc.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index e28b405bb7b..2ae5fb5ea0f 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.64 2004/05/05 03:05:41 jschauma Exp $ +# $NetBSD: gcc.mk,v 1.65 2004/05/12 21:31:50 jschauma Exp $ .if !defined(COMPILER_GCC_MK) COMPILER_GCC_MK= defined @@ -137,6 +137,7 @@ CFLAGS+= -Wno-import .if defined(ABI) CFLAGS+= -mabi=${ABI:C/^32$/n&/} +LDFLAGS+= -mabi=${ABI:C/^32$/n&/} .endif .if !empty(_NEED_GCC2:M[yY][eE][sS]) -- cgit v1.2.3