From: Diego Biurrun Date: Thu, 26 May 2011 12:21:04 +0000 (+0200) Subject: configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2. X-Git-Tag: v0.7rc1~292 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e14574eb68271fb9d1e255950c5a304f36d9a6ba;p=platform%2Fupstream%2Flibav.git configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2. The flag is required for some C99 math functions to be declared. --- 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=""