diff options
author | Bruce Evans <bde@FreeBSD.org> | 1999-10-03 07:09:31 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1999-10-03 07:09:31 +0000 |
commit | 503e666658c311e2be29b19480675939b4aaf8c6 (patch) | |
tree | fdb144ff544b0817928d1ca2748aae4d70d852f9 /sys/conf/Makefile.i386 | |
parent | bc8427c52d5489e4bf4dfa933b55823b904df65e (diff) | |
download | src-503e666658c311e2be29b19480675939b4aaf8c6.tar.gz src-503e666658c311e2be29b19480675939b4aaf8c6.zip |
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.
Notes
Notes:
svn path=/head/; revision=51898
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r-- | sys/conf/Makefile.i386 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 0d82e7971baa..f6cd81823193 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -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} $< |