pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler We really need to pass the ABI flags to bo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee56d7870619
branches: trunk
changeset: 476456:ee56d7870619
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Thu Jun 10 20:34:08 2004 +0000
description:
We really need to pass the ABI flags to both CFLAGS and LDFLAGS, since
some packages (for example ntp4) have configure scripts that try to be
clever and insert their own if they don't find any. This would be wrong
on a system that relies on /etc/compiler.defaults to choose the correct
ABI.
diffstat:
mk/compiler/mipspro.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 049371e9f77f -r ee56d7870619 mk/compiler/mipspro.mk
--- a/mk/compiler/mipspro.mk Thu Jun 10 20:09:47 2004 +0000
+++ b/mk/compiler/mipspro.mk Thu Jun 10 20:34:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mipspro.mk,v 1.23 2004/05/06 14:25:02 jschauma Exp $
+# $NetBSD: mipspro.mk,v 1.24 2004/06/10 20:34:08 jschauma Exp $
.if !defined(COMPILER_MIPSPRO_MK)
COMPILER_MIPSPRO_MK= defined
@@ -63,4 +63,10 @@
. endif
.endfor
+.if defined(ABI)
+MABIFLAG= -${ABI:C/^32$/n&/}
+CFLAGS+= ${MABIFLAG}
+LDFLAGS+= ${MABIFLAG}
+.endif
+
.endif # COMPILER_MIPSPRO_MK
Home |
Main Index |
Thread Index |
Old Index