3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-11 12:52:31 +00:00

Merge pull request #5824 from petterreinholdtsen/autotest-cxxflags

Use CPPFLAGS and CXXFLAGS when compiling in autotest.sh.
This commit is contained in:
Emil J 2026-04-27 22:06:07 +00:00 committed by GitHub
commit cfa66f5335
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ xfirrtl="../xfirrtl"
abcprog="$toolsdir/../../yosys-abc"
if [ ! -f "$toolsdir/cmp_tbdata" -o "$toolsdir/cmp_tbdata.c" -nt "$toolsdir/cmp_tbdata" ]; then
( set -ex; ${CXX:-g++} -Wall -o "$toolsdir/cmp_tbdata" "$toolsdir/cmp_tbdata.c"; ) || exit 1
( set -ex; ${CXX:-g++} -Wall ${CPPFLAGS} ${CXXFLAGS:-} -o "$toolsdir/cmp_tbdata" "$toolsdir/cmp_tbdata.c"; ) || exit 1
fi
while getopts xmGl:wkjvref:s:p:n:S:I:A:-: opt; do