Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/compat avoid adding -m32 to various variables multiple times...
details: https://anonhg.NetBSD.org/src/rev/c2dd5f9fe373
branches: trunk
changeset: 766181:c2dd5f9fe373
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jun 18 01:22:34 2011 +0000
description:
avoid adding -m32 to various variables multiple times aka, multiple inclusions.
diffstat:
compat/m32.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 635bf1d02fdf -r c2dd5f9fe373 compat/m32.mk
--- a/compat/m32.mk Fri Jun 17 23:37:38 2011 +0000
+++ b/compat/m32.mk Sat Jun 18 01:22:34 2011 +0000
@@ -1,9 +1,12 @@
-# $NetBSD: m32.mk,v 1.1 2009/12/13 09:27:34 mrg Exp $
+# $NetBSD: m32.mk,v 1.2 2011/06/18 01:22:34 mrg Exp $
#
# Makefile fragment to help implement a set of 'cc -m32' libraries.
#
+.ifndef _COMPAT_M32_MK_ # {
+_COMPAT_M32_MK_=1
+
COPTS+= -m32
CPUFLAGS+= -m32
LDADD+= -m32
@@ -11,3 +14,5 @@
MKDEPFLAGS+= -m32
.include "Makefile.compat"
+
+.endif # _COMPAT_M32_MK_ }
Home |
Main Index |
Thread Index |
Old Index