diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-03-12 15:24:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-03-12 15:24:46 +0000 |
commit | 66a9381db479909abebd6eb0e92cc7d9ac58ee01 (patch) | |
tree | 56600d4dd3f7c7b26ede3edd332d8b19454bbd7a /make/custom | |
parent | 2008-03-11 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-66a9381db479909abebd6eb0e92cc7d9ac58ee01.tar.bz2 |
2008-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* leaf.cfg, custom/pc386.cfg, custom/pc386dx.cfg: It appears that the
default processor model optimization has changed in gcc 4.3.0.
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 |