From: Tim Harvey <tharvey@gateworks.com>
Date: Tue, 20 Feb 2018 18:23:15 +0000 (-0800)
Subject: octeontx: remove CFLAGS
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=10280d9e229ba3ebb4b78d2beef27243d9bfc89c;p=openwrt%2Fstaging%2Fnbd.git

octeontx: remove CFLAGS

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>
---

diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile
index bbe8149b0b..ecac1527b7 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>