Module Name: src
Committed By: mrg
Date: Sat Jun 18 01:22:34 UTC 2011
Modified Files:
src/compat: m32.mk
Log Message:
avoid adding -m32 to various variables multiple times aka, multiple inclusions.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/compat/m32.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/compat/m32.mk
diff -u src/compat/m32.mk:1.1 src/compat/m32.mk:1.2
--- src/compat/m32.mk:1.1 Sun Dec 13 09:27:34 2009
+++ src/compat/m32.mk Sat Jun 18 01:22:34 2011
@@ -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_ }