1--- Makefile
2+++ Makefile
3@@ -246,14 +246,6 @@ EXT = dylib
4 VERSION_EXT = $(API_MAJOR).$(EXT)
5 $(LIBNAME)_LDFLAGS += -dynamiclib -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR)
6 AR_EXT = a
7-# Homebrew wants to make sure its formula does not disable FORTIFY_SOURCE
8-# However, this is not really necessary because 'CAPSTONE_USE_SYS_DYN_MEM=yes' by default
9-ifneq ($(HOMEBREW_CAPSTONE),1)
10-ifneq ($(CAPSTONE_USE_SYS_DYN_MEM),yes)
11-# remove string check because OSX kernel complains about missing symbols
12-CFLAGS += -D_FORTIFY_SOURCE=0
13-endif
14-endif
15 else
16 $(LIBNAME)_LDFLAGS += -shared
17 # Cygwin?
18