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

Tim Harvey tharvey at gateworks.com
Tue Feb 20 13:23:15 EST 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
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list