Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-13 03:03:08 +0400
committerMåns Rullgård <mans@mansr.com>2009-07-13 03:03:08 +0400
commit38a9c529e27cfe054dc0ec1974b7fc4325130f98 (patch)
tree815cfb84926147707da3861f864f12384ab2fc87 /configure
parentcaf458dda4ae593b58046cc73d56a70eeab26c15 (diff)
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>