summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-07-13 06:13:27 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-07-13 06:13:27 -0500
commit08f5f10f8f05b34f64c22545cb34b2eabbee7f0e (patch)
tree56705c2a26a4a0a687a571b2851db1ca7b2a8eab /configure
parentf5aa9f8034fb66c4606b2f5c4de173c22c977e7c (diff)
parent3be6fa1e4b920fe1ccec67e4a78e101354a767d9 (diff)
Merge "BuildSystem: Allow own CFLAGS on ./configure." into 13
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 3 insertions, 9 deletions
diff --git a/configure b/configure
index 6a28edf26..f7da3d070 100755
--- a/configure
+++ b/configure
@@ -17767,19 +17767,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