summaryrefslogtreecommitdiff
path: root/mk/compiler/gcc.mk
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-05-12 21:31:50 +0000
committerjschauma <jschauma@pkgsrc.org>2004-05-12 21:31:50 +0000
commit7a1cf5a36f82ffe52c735856dea4d6bfa3acd4bb (patch)
tree521efe70d2f7d7ff956ab7a008fbdfefc2ef2704 /mk/compiler/gcc.mk
parentb2e90313522c74fac78a4b09211918b5112405ad (diff)
downloadpkgsrc-7a1cf5a36f82ffe52c735856dea4d6bfa3acd4bb.tar.gz
If ABI is set, LDFLAGS also needs the proper flag.
Diffstat (limited to 'mk/compiler/gcc.mk')
-rw-r--r--mk/compiler/gcc.mk3
1 files changed, 2 insertions, 1 deletions
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])