avoid adding -m32 to various variables multiple times aka, multiple inclusions.
This commit is contained in:
parent
870f6bfbe0
commit
c1c3cc3782
|
@ -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.
|
# Makefile fragment to help implement a set of 'cc -m32' libraries.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
.ifndef _COMPAT_M32_MK_ # {
|
||||||
|
_COMPAT_M32_MK_=1
|
||||||
|
|
||||||
COPTS+= -m32
|
COPTS+= -m32
|
||||||
CPUFLAGS+= -m32
|
CPUFLAGS+= -m32
|
||||||
LDADD+= -m32
|
LDADD+= -m32
|
||||||
|
@ -11,3 +14,5 @@ LDFLAGS+= -m32
|
||||||
MKDEPFLAGS+= -m32
|
MKDEPFLAGS+= -m32
|
||||||
|
|
||||||
.include "Makefile.compat"
|
.include "Makefile.compat"
|
||||||
|
|
||||||
|
.endif # _COMPAT_M32_MK_ }
|
||||||
|
|
Loading…
Reference in New Issue