File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -137,20 +137,11 @@ ninja --version
137137for args in " ${ARGS[@]} " ; do
138138 SECONDS=0
139139
140- # mold < 1.1 does not support LTO.
141- if dpkg --compare-versions " $( dpkg-query --showformat=' ${Version}' --show mold) " ge 1.1; then
142- fatal " Newer mold version detected, please remove this workaround."
143- elif [[ " $args " == * " -Db_lto=true" * ]]; then
144- LD=" gold"
145- else
146- LD=" $LINKER "
147- fi
148-
149140 info " Checking build with $args "
150141 # shellcheck disable=SC2086
151142 if ! AR=" $AR " \
152- CC=" $CC " CC_LD=" $LD " CFLAGS=" $CFLAGS " \
153- CXX=" $CXX " CXX_LD=" $LD " CXXFLAGS=" $CXXFLAGS " \
143+ CC=" $CC " CC_LD=" $LINKER " CFLAGS=" $CFLAGS " \
144+ CXX=" $CXX " CXX_LD=" $LINKER " CXXFLAGS=" $CXXFLAGS " \
154145 meson setup \
155146 -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
156147 -Dnobody-group=nogroup -Dcryptolib=" ${CRYPTOLIB:? } " \
You can’t perform that action at this time.
0 commit comments