diff --git a/patches/200-remove-default-cflags.patch b/patches/200-remove-default-cflags.patch index 0a1ba0a..433b569 100644 --- a/patches/200-remove-default-cflags.patch +++ b/patches/200-remove-default-cflags.patch @@ -1,18 +1,15 @@ --- a/Makefile.linux +++ b/Makefile.linux -@@ -25,16 +25,16 @@ CONFIG_OPTIONS ?= $(cat .configure.cache - CONFIG_OPTIONS += --firewall=iptables +@@ -35,14 +35,14 @@ CPPFLAGS += -D_GNU_SOURCE + #CFLAGS = -O -g -DDEBUG CFLAGS ?= -Os -CFLAGS += -fno-strict-aliasing -CFLAGS += -fno-common -CFLAGS += -fstack-protector -fPIE --CFLAGS += -D_FORTIFY_SOURCE=2 +#CFLAGS += -fno-strict-aliasing +#CFLAGS += -fno-common +#CFLAGS += -fstack-protector -fPIE -+#CFLAGS += -D_FORTIFY_SOURCE=2 - CPPFLAGS += -D_GNU_SOURCE CFLAGS += -Wall CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement #CFLAGS += -Wno-missing-field-initializers