[FFmpeg-cvslog] configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.
Diego Biurrun
git at videolan.org
Fri May 27 02:53:55 CEST 2011
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu May 26 14:21:04 2011 +0200| [e14574eb68271fb9d1e255950c5a304f36d9a6ba] | committer: Diego Biurrun
configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.
The flag is required for some C99 math functions to be declared.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e14574eb68271fb9d1e255950c5a304f36d9a6ba
---
configure | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index c628ff6..d3e8764 100755
--- a/configure
+++ b/configure
@@ -2477,6 +2477,7 @@ case $target_os in
os/2*)
ln_s="cp -f"
objformat="aout"
+ add_cppflags -D_GNU_SOURCE
add_ldflags -Zomf -Zbin-files -Zargs-wild -Zmap
SHFLAGS='$(SUBDIR)$(NAME).def -Zdll -Zomf'
FFSERVERLDFLAGS=""
More information about the ffmpeg-cvslog
mailing list