build-mingw-w64: Use make install-strip instead of building with -Wl,-s

These days, we have a working strip tool, so we can do a slightly
more straightforward procedure here.

In build-make.sh we still build with -Wl,-s, as we call a less
obvious install target there, in order to only install mingw32-make.sh,
not some header files and documentation.
This commit is contained in:
Martin Storsjö committed 2019-12-28 00:24:50 +02:00
1 parent c8d181fa90
commit 0d08c6ab18
1 file changed
+2 -2
+2 -2
View File
@@ -143,9 +143,9 @@ cd mingw-w64-tools/widl
for arch in $ARCHS; do
mkdir -p build-$CROSS_NAME$arch
cd build-$CROSS_NAME$arch
../configure --prefix="$PREFIX" --target=$arch-w64-mingw32 $CONFIGFLAGS LDFLAGS="-Wl,-s"
../configure --prefix="$PREFIX" --target=$arch-w64-mingw32 $CONFIGFLAGS
make -j$CORES
make install
make install-strip
cd ..
done
cd "$PREFIX/bin"