aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-filter/ebtables/ebtables-2.0.10-4/ebtables_optimizations.patch
blob: 21d4cfd82262ab2fd770ed45a04d6ef08bd91484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ebtables: use optimizations from bitbake

Enables building with O2 or Os to create smaller binaries.

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>

--- a/Makefile	2021-04-16 12:43:40.475431286 +0000
+++ b/Makefile	2021-04-16 12:45:23.654597711 +0000
@@ -18,7 +18,7 @@ SYSCONFIGDIR:=/etc/sysconfig
 DESTDIR:=
 
 CFLAGS:=-Wall -Wunused -Werror
-CFLAGS_SH_LIB:=-fPIC -O3
+CFLAGS_SH_LIB:=-fPIC
 CC:=gcc
 
 ifeq ($(shell uname -m),sparc64)