Move linux-x86 GNU compiler tune c flag setting to CONFIG_SITE file.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user