Created
January 28, 2014 09:08
-
-
Save gvsmirnov/8664413 to your computer and use it in GitHub Desktop.
Fixed the issue with Objective-C compiler not being passed the -fobjc-exceptions flag on OSX
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 1390883099 -14400 | |
# Tue Jan 28 08:24:59 2014 +0400 | |
# Node ID 37812ce2ac7059a22d85f4036ccc5cd242934f35 | |
# Parent 4dfd8f109dee49bc9d8c6d95d58bbce03cd662b7 | |
Fixed the issue with Objective-C compiler not being passed the -fobjc-exceptions flag on OSX | |
diff -r 4dfd8f109dee -r 37812ce2ac70 make/bsd/makefiles/saproc.make | |
--- a/make/bsd/makefiles/saproc.make Sun Jan 26 19:42:45 2014 +0400 | |
+++ b/make/bsd/makefiles/saproc.make Tue Jan 28 08:24:59 2014 +0400 | |
@@ -96,8 +96,11 @@ | |
ifneq ($(OS_VENDOR), Darwin) | |
-SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) | |
+ SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) | |
+else | |
+ SA_LFLAGS = -fobjc-exceptions | |
endif | |
+ | |
SA_LFLAGS += $(LDFLAGS_HASH_STYLE) | |
ifeq ($(OS_VENDOR), Darwin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment