Move linux-x86 GNU compiler tune c flag setting to CONFIG_SITE file.

This commit is contained in:
Janet Anderson
2011-08-22 09:31:26 -05:00
parent 4a18db9f99
commit e76dc17dfb
3 changed files with 5 additions and 7 deletions

View File

@@ -171,3 +171,7 @@ GCC_PIPE = NO
# must be either YES or NO
LINKER_USE_RPATH=YES
# For linux-x86 target builds, tune GNU compiler for cpu-type
# (e.g. generic, i386, i486, i586, or i686)
GNU_TUNE_CFLAGS = -mtune=generic

View File

@@ -12,7 +12,7 @@ include $(CONFIG)/os/CONFIG.Common.linuxCommon
ARCH_CLASS = x86
ARCH_DEP_CFLAGS = -mtune=generic
ARCH_DEP_CFLAGS = $(GNU_TUNE_CFLAGS)
ARCH_DEP_CPPFLAGS += -D_X86_
OP_SYS_CFLAGS += -m32

View File

@@ -32,11 +32,5 @@ COMMANDLINE_LIBRARY = READLINE
# Needs -lcurses (older versions)
#COMMANDLINE_LIBRARY = READLINE_CURSES
# Optionally specify a specific machine type and/or cpu type.
# Generate instructions for a specific machine type with -march=<cpu-type>
# Tune for a specific cpu-type with -mtune=<cpu-type>
# Specifying -march=<cpu-type> implies -mtune=<cpu-type>.
#ARCH_DEP_CFLAGS = -mtune=i686 -march=i686
OP_SYS_CFLAGS += -g