Skip to content

Commit

Permalink
build: fix build-static.sh (adapt to Makefile changes: respect LDFLAGS)
Browse files Browse the repository at this point in the history
Closes: rui314#138
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Dec 16, 2021
1 parent 6fd76f2 commit e610f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e610f62

Please sign in to comment.