Pārlūkot izejas kodu

gcc wrapper improvement: leave libgcc dir in the library path

this is needed in case -lgcc is passed explicitly on the link command
line, for example if the wrapper is being used to build musl itself.
Rich Felker 12 gadi atpakaļ
vecāks
revīzija
5d26d5d15b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tools/musl-gcc.specs.sh

+ 1 - 1
tools/musl-gcc.specs.sh

@@ -11,7 +11,7 @@ cat <<EOF
 %(cc1_cpu) -nostdinc -isystem $incdir 
 
 *link_libgcc:
--L$libdir
+-L$libdir -L .%s
 
 *libgcc:
 libgcc.a%s %:if-exists(libgcc_eh.a%s)