mirror of https://github.com/YosysHQ/yosys.git
tests/cxxrtl: Add -O2
This commit is contained in:
parent
29e0cc6acd
commit
1dff3c83d9
|
@ -5,7 +5,7 @@ set -ex
|
|||
run_subtest () {
|
||||
local subtest=$1; shift
|
||||
|
||||
${CC:-gcc} -std=c++11 -o cxxrtl-test-${subtest} -I../../backends/cxxrtl/runtime test_${subtest}.cc -lstdc++
|
||||
${CC:-gcc} -std=c++11 -O2 -o cxxrtl-test-${subtest} -I../../backends/cxxrtl/runtime test_${subtest}.cc -lstdc++
|
||||
./cxxrtl-test-${subtest}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue