From bd9cbae4116e9b17a9dcc290da8721863631f2fc Mon Sep 17 00:00:00 2001 From: kub Date: Sun, 20 Feb 2022 22:38:12 +0000 Subject: [PATCH] build, fix cyclone build (replace CFLAGS in environment) --- platform/common/common.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/common/common.mak b/platform/common/common.mak index 0aabeab6..183a7159 100644 --- a/platform/common/common.mak +++ b/platform/common/common.mak @@ -200,7 +200,8 @@ $(FR)cpu/cyclone/Cyclone.h: $(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/$(CYCLONE_CONFIG) @echo building Cyclone... - @make CC=$(CYCLONE_CC) CXX=$(CYCLONE_CXX) -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG) HAVE_ARMv6=$(HAVE_ARMv6) + @export CC=$(CYCLONE_CC) CXX=$(CYCLONE_CXX) CFLAGS=-O2; \ + make -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG) HAVE_ARMv6=$(HAVE_ARMv6) $(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone/*.cpp $(FR)cpu/cyclone/*.h -- 2.39.5