aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-12 23:03:08 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-12 23:03:08 +0000
commit38a9c529e27cfe054dc0ec1974b7fc4325130f98 (patch)
tree815cfb84926147707da3861f864f12384ab2fc87 /configure
parentcaf458dda4ae593b58046cc73d56a70eeab26c15 (diff)
downloadffmpeg-38a9c529e27cfe054dc0ec1974b7fc4325130f98.tar.gz
Use add_*flags only after compiler-specific configuration
Originally committed as revision 19422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index dbc9ceb819..2cb28a6b3b 100755
--- a/configure
+++ b/configure
@@ -1265,7 +1265,6 @@ enable stripping
enable swscale_alpha
# build settings
-add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
SHFLAGS='-shared -Wl,-soname,$$(@F)'
FFSERVERLDFLAGS=-Wl,-E
LIBPREF="lib"
@@ -1538,6 +1537,7 @@ if test "$?" != 0; then
die "C compiler test failed."
fi
+add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
check_cflags -std=c99
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
#include <stdlib.h>