diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-21 19:54:14 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-01-22 10:33:04 +0100 |
commit | 8267f9363532b23b3b8b4e27491ee2d412a8aec3 (patch) | |
tree | cdceb36aeabec57373e7c7eb36eea17a4dcf722a /configure | |
parent | 91c981857bc65829ed6cdfd2ddaec396fd9ee372 (diff) | |
download | ffmpeg-8267f9363532b23b3b8b4e27491ee2d412a8aec3.tar.gz |
configure: Set default HOSTCFLAGS/HOSTCPPFLAGS after compiler detection
This prevents the default HOSTCFLAGS from getting clobbered by flags
passed to configure on the command line.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2125,8 +2125,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 @@ -3167,8 +3165,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 |