3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 17:14:08 +00:00

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

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

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