pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler If ABI is set, LDFLAGS also needs the prop...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1214f34981d
branches:  trunk
changeset: 475235:c1214f34981d
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Wed May 12 21:31:50 2004 +0000

description:
If ABI is set, LDFLAGS also needs the proper flag.

diffstat:

 mk/compiler/gcc.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f9a846446ac2 -r c1214f34981d mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Wed May 12 20:56:14 2004 +0000
+++ b/mk/compiler/gcc.mk        Wed May 12 21:31:50 2004 +0000
@@ -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 @@
 
 .if defined(ABI)
 CFLAGS+=       -mabi=${ABI:C/^32$/n&/}
+LDFLAGS+=      -mabi=${ABI:C/^32$/n&/}
 .endif
 
 .if !empty(_NEED_GCC2:M[yY][eE][sS])



Home | Main Index | Thread Index | Old Index