From 020e95e00920e2424f973e715a13147f5876b51d Mon Sep 17 00:00:00 2001 From: zhao Date: Wed, 6 Aug 2025 08:22:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20patches/200-remove-default?= =?UTF-8?q?-cflags.patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patches/200-remove-default-cflags.patch | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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