fix MacOS/iOS openjdk-src build regression

This commit is contained in:
Joel Dice 2014-07-22 08:24:45 -06:00
parent 1a0ccb1df8
commit d06f493c3e

View File

@ -165,7 +165,7 @@ openjdk-cflags = \
-DJDK_BUILD_NUMBER=\"0\" \ -DJDK_BUILD_NUMBER=\"0\" \
-D_GNU_SOURCE -D_GNU_SOURCE
ifeq ($(platform),darwin) ifeq ($(kernel),darwin)
openjdk-cflags += \ openjdk-cflags += \
-D_LFS_LARGEFILE=1 \ -D_LFS_LARGEFILE=1 \
-D_ALLBSD_SOURCE -D_ALLBSD_SOURCE
@ -329,7 +329,7 @@ else
$(shell pkg-config --cflags gconf-2.0) $(shell pkg-config --cflags gconf-2.0)
endif endif
ifeq ($(platform),darwin) ifeq ($(kernel),darwin)
openjdk-sources += \ openjdk-sources += \
$(openjdk-src)/solaris/native/java/net/bsd_close.c $(openjdk-src)/solaris/native/java/net/bsd_close.c