diff mbox series

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

Message ID 1519150999-27982-4-git-send-email-tharvey@gateworks.com
State Accepted
Headers show
Series [OpenWrt-Devel,1/8] octeontx: add USB_PCI support | expand

Commit Message

Tim Harvey Feb. 20, 2018, 6:23 p.m. UTC
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@hauke-m.de>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 target/linux/octeontx/Makefile | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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@gateworks.com>