Created
January 30, 2014 21:06
-
-
Save gvsmirnov/8718663 to your computer and use it in GitHub Desktop.
Added -fobjc-exceptions flag to PlatdormLibraries.make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Gleb Smirnov <me@gvsmirnov.ru> | |
# Date 1391115900 -14400 | |
# Fri Jan 31 01:05:00 2014 +0400 | |
# Node ID 5e4a204bebbc036f52de7fbc2f0fad6b795b1871 | |
# Parent fa648b456968a60678cf09bf8ecff3c2bb19b39a | |
Added -fobjc-exceptions flag to PlatdormLibraries.make | |
diff -r fa648b456968 -r 5e4a204bebbc make/lib/PlatformLibraries.gmk | |
--- a/make/lib/PlatformLibraries.gmk Tue Jan 28 13:05:22 2014 +0400 | |
+++ b/make/lib/PlatformLibraries.gmk Fri Jan 31 01:05:00 2014 +0400 | |
@@ -31,7 +31,7 @@ | |
SRC := $(JDK_TOPDIR)/src/macosx/native/apple/applescript, \ | |
LANG := C, \ | |
OPTIMIZATION := LOW, \ | |
- CFLAGS := $(CFLAGS_JDKLIB) \ | |
+ CFLAGS := $(CFLAGS_JDKLIB) -fobjc-exceptions \ | |
-I$(JDK_TOPDIR)/src/macosx/native/apple/applescript \ | |
-F/System/Library/Frameworks/JavaVM.framework/Frameworks \ | |
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks, \ | |
@@ -61,7 +61,7 @@ | |
SRC := $(JDK_TOPDIR)/src/macosx/native/sun/osxapp, \ | |
LANG := C, \ | |
OPTIMIZATION := LOW, \ | |
- CFLAGS := $(CFLAGS_JDKLIB) \ | |
+ CFLAGS := $(CFLAGS_JDKLIB) -fobjc-exceptions \ | |
-I$(JDK_TOPDIR)/src/macosx/native/sun/osxapp \ | |
-I$(JDK_OUTPUTDIR)/gensrc/sun/osxapp \ | |
-F/System/Library/Frameworks/JavaVM.framework/Frameworks \ | |
@@ -106,7 +106,7 @@ | |
SRC := $(LIBOSX_DIRS), \ | |
LANG := C, \ | |
OPTIMIZATION := LOW, \ | |
- CFLAGS := $(CFLAGS_JDKLIB) \ | |
+ CFLAGS := $(CFLAGS_JDKLIB) -fobjc-exceptions \ | |
$(foreach dir, $(LIBOSX_DIRS), -I$(dir)) \ | |
-I$(JDK_TOPDIR)/src/macosx/native/sun/osxapp \ | |
-F/System/Library/Frameworks/JavaVM.framework/Frameworks \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment