diff options
Diffstat (limited to 'make/custom')
-rw-r--r-- | make/custom/pc386.cfg | 4 | ||||
-rw-r--r-- | make/custom/pc386dx.cfg | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg index 490428bb56..4be98089d5 100644 --- a/make/custom/pc386.cfg +++ b/make/custom/pc386.cfg @@ -18,7 +18,9 @@ RTEMS_BSP_FAMILY=pc386 # and (hopefully) optimize for it. # # NOTE: CPU_CFLAGS is set by pc386 variants. -# CPU_CFLAGS = +ifeq ($(CPU_CFLAGS),) + CPU_CFLAGS = -mtune=i386 +endif # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g diff --git a/make/custom/pc386dx.cfg b/make/custom/pc386dx.cfg index 2268eaecb2..df0fc15d10 100644 --- a/make/custom/pc386dx.cfg +++ b/make/custom/pc386dx.cfg @@ -8,7 +8,7 @@ RTEMS_CPU_MODEL=i386dx # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. -CPU_CFLAGS = -msoft-float -mno-fp-ret-in-387 +CPU_CFLAGS = -mtune=i386 -msoft-float -mno-fp-ret-in-387 include $(RTEMS_ROOT)/make/custom/pc386.cfg |