Skip to content
Snippets Groups Projects
Commit c48016e2 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "BuildSystem: Allow own CFLAGS on ./configure."

parents c2a72e6a 110b01a0
No related branches found
No related tags found
No related merge requests found
......@@ -17930,19 +17930,13 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -march=native support" >&5
$as_echo_n "checking for -march=native support... " >&6; }
if $(${CC} -march=native -S -o /dev/null -xc /dev/null > /dev/null 2>&1); then
if test "${CONFIG_CFLAGS}" = ""; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
AST_NATIVE_ARCH=1
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: user CFLAGS present" >&5
$as_echo "user CFLAGS present" >&6; }
AST_NATIVE_ARCH=
fi
AST_NATIVE_ARCH=1
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
AST_NATIVE_ARCH=
AST_NATIVE_ARCH=0
fi
 
 
......
......@@ -1217,16 +1217,11 @@ AC_SUBST(AST_SHADOW_WARNINGS)
AC_MSG_CHECKING(for -march=native support)
if $(${CC} -march=native -S -o /dev/null -xc /dev/null > /dev/null 2>&1); then
if test "${CONFIG_CFLAGS}" = ""; then
AC_MSG_RESULT(yes)
AST_NATIVE_ARCH=1
else
AC_MSG_RESULT(user CFLAGS present)
AST_NATIVE_ARCH=
fi
AC_MSG_RESULT(yes)
AST_NATIVE_ARCH=1
else
AC_MSG_RESULT(no)
AST_NATIVE_ARCH=
AST_NATIVE_ARCH=0
fi
AC_SUBST(AST_NATIVE_ARCH)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment