1
1
mirror of https://github.com/rui314/mold.git synced 2024-11-10 19:26:38 +03:00

Merge pull request #143 from thesamesam/main

build: fix build-static.sh (adapt to Makefile changes: respect LDFLAGS)
This commit is contained in:
Rui Ueyama 2021-12-16 14:31:03 +09:00 committed by GitHub
commit 613ca6fc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,4 +34,4 @@ LDFLAGS="$LDFLAGS -Wl,-u,pthread_rwlock_wrlock"
docker run -it --rm -v "`pwd`:/mold" -u $(id -u):$(id -g) \
mold-build-ubuntu20 \
make -C /mold -j$(nproc) EXTRA_LDFLAGS="$LDFLAGS"
make -C /mold -j$(nproc) LDFLAGS="$LDFLAGS"