summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-22 15:26:28 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-22 15:31:52 +0100
commit383d2339e043407419a095e41bda02e83eea6fd8 (patch)
tree78120cfbc806e0fd8015c6b6b451c5c66096ea59 /configure
parent762c4dc082764896e27f3c53c14a65871d8fe910 (diff)
parent8267f9363532b23b3b8b4e27491ee2d412a8aec3 (diff)
Merge commit '8267f9363532b23b3b8b4e27491ee2d412a8aec3'
* commit '8267f9363532b23b3b8b4e27491ee2d412a8aec3': configure: Set default HOSTCFLAGS/HOSTCPPFLAGS after compiler detection Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7b4cfc5f5e..7c68ec2c5e 100755
--- a/configure
+++ b/configure
@@ -2512,8 +2512,6 @@ HOSTCC_E='-E -o $@'
HOSTCC_O='-o $@'
HOSTLD_O='-o $@'
-host_cflags='-O3'
-host_cppflags='-D_ISOC99_SOURCE'
host_libs='-lm'
host_cflags_filter=echo
host_ldflags_filter=echo
@@ -3596,8 +3594,10 @@ check_cc -D_LARGEFILE_SOURCE <<EOF && add_cppflags -D_LARGEFILE_SOURCE
#include <stdlib.h>
EOF
+add_host_cppflags -D_ISOC99_SOURCE
check_host_cflags -std=c99
check_host_cflags -Wall
+check_host_cflags -O3
check_64bit(){
arch32=$1