Changes in misc/yosys-config.in. LDLIBS -> LIBS. LDFLAGS -> LINKFLAGS.

This commit is contained in:
Roland Coeurjoly 2024-02-25 18:35:43 +01:00
parent 4a2fb18718
commit cf7b6c66f0
1 changed files with 4 additions and 5 deletions

9
misc/yosys-config.in Normal file → Executable file
View File

@ -9,8 +9,8 @@ help() {
echo "Replacement args:"
echo " --cxx @CXX@"
echo " --cxxflags $( echo '@CXXFLAGS@' | fmt -w60 | sed ':a;N;$!ba;s/\n/ \\\n /g' )"
echo " --ldflags @LDFLAGS@"
echo " --ldlibs @LDLIBS@"
echo " --ldflags @LINKFLAGS@"
echo " --ldlibs @LIBS@"
echo " --bindir @BINDIR@"
echo " --datdir @DATDIR@"
echo ""
@ -64,9 +64,9 @@ for opt; do
"$prefix"cxxflags)
tokens=( "${tokens[@]}" @CXXFLAGS@ ) ;;
"$prefix"ldflags)
tokens=( "${tokens[@]}" @LDFLAGS@ ) ;;
tokens=( "${tokens[@]}" @LINKFLAGS@ ) ;;
"$prefix"ldlibs)
tokens=( "${tokens[@]}" @LDLIBS@ ) ;;
tokens=( "${tokens[@]}" @LIBS@ ) ;;
"$prefix"bindir)
tokens=( "${tokens[@]}" '@BINDIR@' ) ;;
"$prefix"datdir)
@ -104,4 +104,3 @@ fi
echo "${tokens[@]}"
exit 0