61 |
# determine the right gcc switch for CPU specific optimizations |
# determine the right gcc switch for CPU specific optimizations |
62 |
# (only if the user did not provide one) |
# (only if the user did not provide one) |
63 |
CXX_CPU_SWITCH= |
CXX_CPU_SWITCH= |
|
echo "X $CXXFLAGS " |
|
64 |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
65 |
if test "$def_arch_x86" = 1; then |
if test "$def_arch_x86" = 1; then |
66 |
CXX_CPU_SWITCH="-march=$target_cpu" |
CXX_CPU_SWITCH="-march=$target_cpu" |