summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-26 14:21:04 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-26 16:26:18 +0200
commite14574eb68271fb9d1e255950c5a304f36d9a6ba (patch)
tree3bdb6f5cc8f9d8d603f834bb3811ba7c68b8cf2f /configure
parent25101cf5bde4e05e22cbf0c53d8c82cbf56d0a35 (diff)
configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.
The flag is required for some C99 math functions to be declared.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index c628ff65bb..d3e8764fb9 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=""