aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.android
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-01-06 22:24:26 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-01-06 22:24:26 +0100
commit747f7d13e472f42742f74fdfa70ffd6b2998362e (patch)
treec498d51a01a37282d5d107cde9df259cb7e2a973 /Makefile.android
parent266fe5e187099f280d75be8f2dde2e2c29f285d5 (diff)
downloadexternal_qemu-747f7d13e472f42742f74fdfa70ffd6b2998362e.zip
external_qemu-747f7d13e472f42742f74fdfa70ffd6b2998362e.tar.gz
external_qemu-747f7d13e472f42742f74fdfa70ffd6b2998362e.tar.bz2
Fix Darwin build.
The reason for the build breakage is still mysterious though. Were the system headers updated during the last system update ?!? Change-Id: Ib0ea2b54bf7ffad907752c3a82fb4bbe686425a5
Diffstat (limited to 'Makefile.android')
-rw-r--r--Makefile.android2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.android b/Makefile.android
index 271fc49..8bd9b65 100644
--- a/Makefile.android
+++ b/Makefile.android
@@ -59,7 +59,7 @@ ifeq ($(HOST_ARCH),ppc)
endif
ifeq ($(HOST_OS),darwin)
- MY_CFLAGS += -mdynamic-no-pic
+ MY_CFLAGS += -mdynamic-no-pic -D_DARWIN_C_SOURCE=1
# When building on Leopard or above, we need to use the 10.4 SDK
# or the generated binary will not run on Tiger.