diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-05-12 21:31:50 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-05-12 21:31:50 +0000 |
commit | 10bc0c9d01d2aa5890efac61efcbb534e61d2bbd (patch) | |
tree | 521efe70d2f7d7ff956ab7a008fbdfefc2ef2704 /mk/compiler | |
parent | 7cb38bc8876cecd19a1b39477ecd5abc86f70427 (diff) | |
download | pkgsrc-10bc0c9d01d2aa5890efac61efcbb534e61d2bbd.tar.gz |
If ABI is set, LDFLAGS also needs the proper flag.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/gcc.mk | 3 |
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]) |