diff --git a/configure.py b/configure.py index 29f16961e01..c504ccd2229 100644 --- a/configure.py +++ b/configure.py @@ -535,8 +535,9 @@ def set_cc_opt_flags(environ_cp): for opt in cc_opt_flags.split(): write_to_bazelrc('build:opt --copt=%s' % opt) # It should be safe on the same build host. - if not is_ppc64le() and not is_windows(): - write_to_bazelrc('build:opt --host_copt=-march=native') + # TODO(mihaimaruseac): we removed `-march=native` above + #if not is_ppc64le() and not is_windows(): + # write_to_bazelrc('build:opt --host_copt=-march=native') write_to_bazelrc('build:opt --define with_default_optimizations=true')