From 279fefa67df63dd2e9d763324fdbbb84d91e0abf Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Wed, 13 Oct 1999 10:59:23 +0000 Subject: [PATCH] Sync with sys/i386/conf/Makefile.i386 revision 1.160. --- sys/conf/Makefile.pc98 | 4 ++++ sys/pc98/conf/Makefile.pc98 | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 48492d5fc6e..7bb71648a6c 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -70,6 +70,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} $< diff --git a/sys/pc98/conf/Makefile.pc98 b/sys/pc98/conf/Makefile.pc98 index 48492d5fc6e..7bb71648a6c 100644 --- a/sys/pc98/conf/Makefile.pc98 +++ b/sys/pc98/conf/Makefile.pc98 @@ -70,6 +70,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} $<