wrappers: Remove windres-wrapper; llvm-windres is available since LLVM 13.0.0
This commit is contained in:
1 parent
ea46c8d98f
commit
8915db817c
2 files changed
+3
-470
No files matched your search
+3
-8
@@ -70,7 +70,6 @@ if [ -n "$HOST" ]; then
|
||||
fi
|
||||
$CC wrappers/clang-target-wrapper.c -o "$PREFIX/bin/clang-target-wrapper$EXEEXT" -O2 -Wl,-s $WRAPPER_FLAGS
|
||||
$CC wrappers/dlltool-wrapper.c -o "$PREFIX/bin/dlltool-wrapper$EXEEXT" -O2 -Wl,-s $WRAPPER_FLAGS
|
||||
$CC wrappers/windres-wrapper.c -o "$PREFIX/bin/windres-wrapper$EXEEXT" -O2 -Wl,-s $WRAPPER_FLAGS
|
||||
$CC wrappers/llvm-wrapper.c -o "$PREFIX/bin/llvm-wrapper$EXEEXT" -O2 -Wl,-s $WRAPPER_FLAGS
|
||||
if [ -n "$EXEEXT" ]; then
|
||||
# For Windows, we should prefer the executable wrapper, which also works
|
||||
@@ -94,13 +93,9 @@ for arch in $ARCHS; do
|
||||
fi
|
||||
ln -sf $link_target$EXEEXT $arch-w64-$target_os-$exec$EXEEXT || true
|
||||
done
|
||||
if [ -f "llvm-windres$EXEEXT" ]; then
|
||||
# windres can't use llvm-wrapper, as that loses the original
|
||||
# target arch prefix.
|
||||
ln -sf llvm-windres$EXEEXT $arch-w64-$target_os-windres$EXEEXT
|
||||
else
|
||||
ln -sf windres-wrapper$EXEEXT $arch-w64-$target_os-windres$EXEEXT
|
||||
fi
|
||||
# windres can't use llvm-wrapper, as that loses the original
|
||||
# target arch prefix.
|
||||
ln -sf llvm-windres$EXEEXT $arch-w64-$target_os-windres$EXEEXT
|
||||
ln -sf dlltool-wrapper$EXEEXT $arch-w64-$target_os-dlltool$EXEEXT
|
||||
for exec in ld objdump; do
|
||||
ln -sf $exec-wrapper.sh $arch-w64-$target_os-$exec
|
||||
|
||||
Reference in new issue
Block a user