[openwrt/openwrt] octeontx: remove CFLAGS

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 22 04:12:46 PST 2018


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/10280d9e229ba3ebb4b78d2beef27243d9bfc89c

commit 10280d9e229ba3ebb4b78d2beef27243d9bfc89c
Author: Tim Harvey <tharvey at gateworks.com>
AuthorDate: Tue Feb 20 10:23:15 2018 -0800

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



More information about the lede-commits mailing list