summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.powerpc
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-10-03 07:09:31 +0000
committerbde <bde@FreeBSD.org>1999-10-03 07:09:31 +0000
commitc9a0e8b1268aa88b2fa9e6035de416900322a4ed (patch)
treecaf670eff48932403506e8b1c7ea1937664f5c2c /sys/conf/Makefile.powerpc
parent796028356cfc56cccaed291266a06d20b1da6c7d (diff)
downloadFreeBSD-src-c9a0e8b1268aa88b2fa9e6035de416900322a4ed.zip
FreeBSD-src-c9a0e8b1268aa88b2fa9e6035de416900322a4ed.tar.gz
Fixed "misspelling" of bcmp as memcmp. memcmp doesn't exist in the
kernel, but gcc provides a pessimal builtin for it. Makefile.i386: Added a variable (CONF_CFLAGS) for configuration-specific compiler flags. LINT: Use CONF_CFLAGS to inhibit use of gcc builtins.
Diffstat (limited to 'sys/conf/Makefile.powerpc')
-rw-r--r--sys/conf/Makefile.powerpc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 0d82e79..f6cd818 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -67,6 +67,10 @@ PROF+= -mprofiler-epilogue
.endif
.endif
+# Put configuration-specific C flags last (except for ${PROF}) so that they
+# can override the others.
+CFLAGS+= ${CONF_CFLAGS}
+
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<
NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} $<
NORMAL_S= ${CC} -c ${ASM_CFLAGS} $<
OpenPOWER on IntegriCloud