From: kub Date: Sun, 20 Feb 2022 22:38:12 +0000 (+0000) Subject: build, fix cyclone build (replace CFLAGS in environment) X-Git-Tag: v2.00~340 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd9cbae4116e9b17a9dcc290da8721863631f2fc;p=picodrive.git build, fix cyclone build (replace CFLAGS in environment) --- 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