d19d7d58aa
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC Makefiles updates to imporve portability Made sure to be consistent in the usage of braces/parenthesis at least on a per file basis. For variables, it is recommended to continue to use braces.
16 lines
413 B
Makefile
16 lines
413 B
Makefile
LDSTATIC?= -static
|
|
|
|
AFLAGS+=-D__ASSEMBLY__
|
|
CPPFLAGS+= -fno-builtin -Wall -Wno-sign-compare
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CPPFLAGS+= -march=i586
|
|
.elif ${MACHINE_ARCH} == "arm"
|
|
CPPFLAGS+= -march=armv7-a
|
|
CPPFLAGS+= -D__minix
|
|
.endif
|
|
|
|
# LSC In the current state there is too much to be done
|
|
# Some package have been identified by directly adding NOGCCERROR
|
|
# To their Makefiles
|
|
NOGCCERROR:= yes
|
|
NOCLANGERROR:= yes
|