Enforce -O1 to work around miscompilation by the vendor gcc

This commit is contained in:
Martin Kroeker
2023-06-25 22:37:56 +02:00
committed by GitHub
parent 1fe96f8da7
commit b13787971e
+1 -1
View File
@@ -1,4 +1,4 @@
ifeq ($(CORE), C910V)
CCOMMON_OPT += -march=rv64imafdcv0p7_zfh_xtheadc -mabi=lp64d -mtune=c920
CCOMMON_OPT += -march=rv64imafdcv0p7_zfh_xtheadc -mabi=lp64d -mtune=c920 -O1
FCOMMON_OPT += -march=rv64imafdcv0p7_zfh_xtheadc -mabi=lp64d -mtune=c920 -static
endif