Squashed 'external/capstone/' content from commit e46f64fa
git-subtree-dir: external/capstone git-subtree-split: e46f64fadb351e9ecd05264fab26f2772feb0994
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -246,14 +246,6 @@ EXT = dylib
|
||||
VERSION_EXT = $(API_MAJOR).$(EXT)
|
||||
$(LIBNAME)_LDFLAGS += -dynamiclib -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR)
|
||||
AR_EXT = a
|
||||
-# Homebrew wants to make sure its formula does not disable FORTIFY_SOURCE
|
||||
-# However, this is not really necessary because 'CAPSTONE_USE_SYS_DYN_MEM=yes' by default
|
||||
-ifneq ($(HOMEBREW_CAPSTONE),1)
|
||||
-ifneq ($(CAPSTONE_USE_SYS_DYN_MEM),yes)
|
||||
-# remove string check because OSX kernel complains about missing symbols
|
||||
-CFLAGS += -D_FORTIFY_SOURCE=0
|
||||
-endif
|
||||
-endif
|
||||
else
|
||||
$(LIBNAME)_LDFLAGS += -shared
|
||||
# Cygwin?
|
||||
Reference in New Issue
Block a user