Skip to content

Commit 0d08c6a

Browse files
committed
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.
1 parent c8d181f commit 0d08c6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-mingw-w64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ cd mingw-w64-tools/widl
143143
for arch in $ARCHS; do
144144
mkdir -p build-$CROSS_NAME$arch
145145
cd build-$CROSS_NAME$arch
146-
../configure --prefix="$PREFIX" --target=$arch-w64-mingw32 $CONFIGFLAGS LDFLAGS="-Wl,-s"
146+
../configure --prefix="$PREFIX" --target=$arch-w64-mingw32 $CONFIGFLAGS
147147
make -j$CORES
148-
make install
148+
make install-strip
149149
cd ..
150150
done
151151
cd "$PREFIX/bin"

0 commit comments

Comments
 (0)