Commit c00d108d authored by yb9976's avatar yb9976
Browse files

-march=native should be passed from outside only

parent ed66c9e9
......@@ -382,10 +382,6 @@ def check_options(options):
target_x86 = options.target_architecture == "i686" or options.target_architecture == "x86_64"
if HOST_ARCH == "x86_64" and target_x86 and not options.force_64:
options.target_architecture = "i686"
if options.c_compiler_args == []:
options.c_compiler_args = ["-march=native"]
if options.cpp_compiler_args == []:
options.cpp_compiler_args = ["-march=native"]
def generate_spec_config(options, progs):
"""Generate a config file for SPEC"""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment