File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 116116* .nativecodeanalysis.xml
117117vc.nativecodeanalysis.all.xml
118118* .lastcodeanalysissucceeded
119+ perf.data *
119120
120121# OS generated files
121122.DS_Store
Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ if test x$enable_robots != xno; then
171171 AC_DEFINE ( ROBOT , 1 , [ Enabling Robots] )
172172fi
173173
174+ AC_ARG_ENABLE ( native , [ --enable-native optimized for the CPU used to build] )
175+
174176# debugging and profiling
175177AC_ARG_ENABLE ( debug , [ --enable-debug turn on debugging] )
176178AC_ARG_ENABLE ( profiling , [ --enable-profiling turn on profiling] )
@@ -690,6 +692,9 @@ case $host_os in
690692 case $host_vendor in
691693 pc)
692694 FLAGS=-mtune=native
695+ if test x$enable_native = xyes ; then
696+ FLAGS="$FLAGS -march=native"
697+ fi
693698 CONF_CFLAGS="$CONF_CFLAGS $FLAGS";
694699 CONF_CXXFLAGS="$CONF_CXXFLAGS $FLAGS";
695700 CONF_CXXFLAGS="$CONF_CXXFLAGS -fsigned-char";;
You can’t perform that action at this time.
0 commit comments