aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2024-04-18 09:07:44 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2024-04-18 13:35:04 +0200
commitcbab82333b5e6ba9d84ac309bd36fba57b66412e (patch)
tree73441b4b84bf961703a9820245d69b95faa10a88
parentd33bd4d91ab5471a453d1808baeb51aaf8799f17 (diff)
cpu2006.cfg: Add option for recent compilers to build these benchmarks
Change-Id: I64dfbff754f0a91ae73bbb4d26dabc9f284fe080
-rw-r--r--cpu2006.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu2006.cfg b/cpu2006.cfg
index 7ca88bf..09a666b 100644
--- a/cpu2006.cfg
+++ b/cpu2006.cfg
@@ -38,7 +38,7 @@ CPORTABILITY = -Wno-int-conversion
403.gcc=default=Ofast=default:
# Something at -O3 causes miscompare due to imprecise encoding of FP constants.
-CPORTABILITY = -O2 -ffast-math
+CPORTABILITY = -O2 -ffast-math -std=gnu89
# clang 16 defaults to -std=c++17.
444.namd=default=default=default:
@@ -64,7 +64,7 @@ CXXPORTABILITY = -DSPEC_CPU_LINUX -std=c++98
FPORTABILITY = @FUNCONSTRAINED_COMMONS@
481.wrf=default=default=default:
-CPORTABILITY = -DSPEC_CPU_CASE_FLAG -DSPEC_CPU_LINUX
+CPORTABILITY = -DSPEC_CPU_CASE_FLAG -DSPEC_CPU_LINUX -std=gnu89
482.sphinx3=default=default=default:
CPORTABILITY = -fsigned-char