OSDN Git Service

Compile Mac OS binaries with unwind tables for libcorkscrew.
authorElliott Hughes <enh@google.com>
Thu, 24 May 2012 00:32:32 +0000 (17:32 -0700)
committerElliott Hughes <enh@google.com>
Thu, 24 May 2012 00:32:32 +0000 (17:32 -0700)
Change-Id: I9755d8d39913830180da2ce32bcdd357309ff792

core/combo/HOST_darwin-x86.mk

index 63c119e..f2dc7de 100644 (file)
@@ -50,7 +50,7 @@ HOST_GLOBAL_CFLAGS += -isysroot $(sdk_105_root) -mmacosx-version-min=10.5
 HOST_GLOBAL_LDFLAGS += -isysroot $(sdk_105_root) -mmacosx-version-min=10.5
 endif # build_mac_version is 10.6
 
-HOST_GLOBAL_CFLAGS += -fPIC
+HOST_GLOBAL_CFLAGS += -fPIC -funwind-tables
 HOST_NO_UNDEFINED_LDFLAGS := -Wl,-undefined,error
 
 GCC_REALPATH = $(realpath $(shell which gcc))