projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25101cf
)
configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.
author
Diego Biurrun
<diego@biurrun.de>
Thu, 26 May 2011 12:21:04 +0000
(14:21 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 26 May 2011 14:26:18 +0000
(16:26 +0200)
The flag is required for some C99 math functions to be declared.
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index c628ff65bb65de522cfcb92168406c7a0e870ede..d3e8764fb9048e9bc2d7ba3f556d974a37c35380 100755
(executable)
--- 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=""