Created
March 6, 2014 15:08
-
-
Save aquynh/9391743 to your computer and use it in GitHub Desktop.
Remove string check & stack protector functions for Capstone
This file contains hidden or 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
diff --git a/Makefile b/Makefile | |
index 3087e30..6d82dfa 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -15,6 +15,10 @@ RANLIB = $(CROSS)ranlib | |
STRIP = $(CROSS)strip | |
endif | |
+# remove string check & stack protector functions | |
+CFLAGS += -D_FORTIFY_SOURCE=0 | |
+CFLAGS += -fno-stack-protector | |
+ | |
CFLAGS += -fPIC -O3 -Wall -Iinclude | |
ifeq ($(USE_SYS_DYN_MEM),yes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment