Commit d777d6cc authored by mru's avatar mru

Use add_*flags only after compiler-specific configuration

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19422 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c8ceca09
...@@ -1265,7 +1265,6 @@ enable stripping ...@@ -1265,7 +1265,6 @@ enable stripping
enable swscale_alpha enable swscale_alpha
# build settings # build settings
add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
SHFLAGS='-shared -Wl,-soname,$$(@F)' SHFLAGS='-shared -Wl,-soname,$$(@F)'
FFSERVERLDFLAGS=-Wl,-E FFSERVERLDFLAGS=-Wl,-E
LIBPREF="lib" LIBPREF="lib"
...@@ -1538,6 +1537,7 @@ if test "$?" != 0; then ...@@ -1538,6 +1537,7 @@ if test "$?" != 0; then
die "C compiler test failed." die "C compiler test failed."
fi fi
add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
check_cflags -std=c99 check_cflags -std=c99
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64 check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment