octeontx: remove CFLAGS
authorTim Harvey <tharvey@gateworks.com>
Tue, 20 Feb 2018 18:23:15 +0000 (10:23 -0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Feb 2018 12:12:06 +0000 (13:12 +0100)
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

index bbe8149..ecac152 100644 (file)
@@ -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>