From d06f493c3ef9b08cdc17224bdd2bdfd32e720be6 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 22 Jul 2014 08:24:45 -0600 Subject: [PATCH] fix MacOS/iOS openjdk-src build regression --- openjdk-src.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openjdk-src.mk b/openjdk-src.mk index 8236de13b8..37f7b448cd 100644 --- a/openjdk-src.mk +++ b/openjdk-src.mk @@ -165,7 +165,7 @@ openjdk-cflags = \ -DJDK_BUILD_NUMBER=\"0\" \ -D_GNU_SOURCE -ifeq ($(platform),darwin) +ifeq ($(kernel),darwin) openjdk-cflags += \ -D_LFS_LARGEFILE=1 \ -D_ALLBSD_SOURCE @@ -329,7 +329,7 @@ else $(shell pkg-config --cflags gconf-2.0) endif - ifeq ($(platform),darwin) + ifeq ($(kernel),darwin) openjdk-sources += \ $(openjdk-src)/solaris/native/java/net/bsd_close.c