[LEDE-DEV] [OpenWrt-Devel] [PATCH 4/8] octeontx: remove CFLAGS

Tim Harvey tharvey at gateworks.com
Tue Feb 20 10:23:15 PST 2018


You should not define CFLAGS for the toolchain as this will also leak
into other targets if they share the same toolchain.

Cc: Hauke Mehrtens <hauke at hauke-m.de>
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 target/linux/octeontx/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile
index bbe8149..ecac152 100644
--- a/target/linux/octeontx/Makefile
+++ b/target/linux/octeontx/Makefile
@@ -10,7 +10,6 @@ ARCH:=aarch64
 BOARD:=octeontx
 BOARDNAME:=Octeon-TX
 FEATURES:=targz pcie gpio rtc usb
-CFLAGS:=-Os -pipe -fno-caller-saves
 
 MAINTAINER:=Tim Harvey <tharvey at gateworks.com>
 
-- 
2.7.4




More information about the Lede-dev mailing list