mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-21 17:39:41 +00:00
Use CPPFLAGS and CXXFLAGS when compiling in autotest.sh.
This ensure the build flags used elsewhere are included also during testing. Patch based on change from Daniel Gröber via Debian. See also issue #5805.
This commit is contained in:
parent
ec0a102302
commit
3187275184
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue