From 6edc4c1b48b4bba4d275c163cfd05b7512621186 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Thu, 5 Jun 2014 21:29:44 +0800 Subject: [PATCH] Fix makefiles for building on Mavericks --- makefile | 2 +- openjdk-src.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 82e08e1981..2fb23cf788 100755 --- a/makefile +++ b/makefile @@ -620,7 +620,7 @@ ifeq ($(platform),darwin) soname-flag = version-script-flag = - lflags = $(common-lflags) -ldl -framework CoreFoundation + lflags = $(common-lflags) -ldl -framework CoreFoundation -framework Foundation ifeq (,$(shell ld -v 2>&1 | grep cctools)) lflags += -Wl,-compatibility_version,1.0.0 diff --git a/openjdk-src.mk b/openjdk-src.mk index feeb3b3674..8236de13b8 100644 --- a/openjdk-src.mk +++ b/openjdk-src.mk @@ -343,7 +343,7 @@ else endif openjdk-cflags += \ - -DMACOSX + -DMACOSX -x objective-c endif endif