binutils: update to 2.43.1
[openadk.git] / package / busybox / patches / 009-disable-Oz.patch
blob11830586fe66b295735d6db17e488358e3239472
1 diff -Nur busybox-1.36.1.orig/Makefile.flags busybox-1.36.1/Makefile.flags
2 --- busybox-1.36.1.orig/Makefile.flags 2023-01-03 15:14:43.000000000 +0100
3 +++ busybox-1.36.1/Makefile.flags 2023-07-30 15:24:31.983113101 +0200
4 @@ -87,14 +87,14 @@
5 #CFLAGS += $(call cc-option,-Wconversion,)
7 ifneq ($(CONFIG_DEBUG),y)
8 -CFLAGS += $(call cc-option,-Oz,$(call cc-option,-Os,$(call cc-option,-O2,)))
9 +CFLAGS += $(call cc-option,-Os,$(call cc-option,-O2,))
10 else
11 CFLAGS += $(call cc-option,-g,)
12 #CFLAGS += "-D_FORTIFY_SOURCE=2"
13 ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
14 CFLAGS += $(call cc-option,-O0,)
15 else
16 -CFLAGS += $(call cc-option,-Oz,$(call cc-option,-Os,$(call cc-option,-O2,)))
17 +CFLAGS += $(call cc-option,-Os,$(call cc-option,-O2,))
18 endif
19 endif
20 ifeq ($(CONFIG_DEBUG_SANITIZE),y)