From 747f7d13e472f42742f74fdfa70ffd6b2998362e Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Thu, 6 Jan 2011 22:24:26 +0100 Subject: 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 --- Makefile.android | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.android') 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. -- cgit v1.1