summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-06-18 01:22:34 +0000
committermrg <mrg@NetBSD.org>2011-06-18 01:22:34 +0000
commit7ddeaf4588fdbeb63adcf29f6b5556416693cef0 (patch)
treee8415ae8108c8e2cddc82ef5ff753dadb2363981 /compat
parent630264099d6508adc9c37f8a4fc77d99c83df630 (diff)
avoid adding -m32 to various variables multiple times aka, multiple inclusions.
Diffstat (limited to 'compat')
-rw-r--r--compat/m32.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/compat/m32.mk b/compat/m32.mk
index 5c5a2761239..3cc90de9ae5 100644
--- a/compat/m32.mk
+++ b/compat/m32.mk
@@ -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 @@ LDFLAGS+= -m32
MKDEPFLAGS+= -m32
.include "Makefile.compat"
+
+.endif # _COMPAT_M32_MK_ }