Skip to content

Commit

Permalink
build: Add back hack for mold to work with gsl
Browse files Browse the repository at this point in the history
This reverts commit 05fdd8b.
  • Loading branch information
vchernin committed Sep 29, 2023
1 parent d504687 commit fc685f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ endif
if get_option('enable-mold')
# mold 1.11.0 or later needed due to https://github.com/rui314/mold/issues/1017
status += 'Using mold linker, so make sure mold 1.11.0 or later is installed on your system.'
link_args = ['-fuse-ld=mold']
# --no-as-needed temporarily necessary due to the seeming return of https://github.com/rui314/mold/issues/1017
link_args = ['-fuse-ld=mold', '-Wl,--no-as-needed']
else
link_args = []
endif
Expand Down

0 comments on commit fc685f9

Please sign in to comment.