File tree 1 file changed +2
-11
lines changed
1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -137,20 +137,11 @@ ninja --version
137
137
for args in " ${ARGS[@]} " ; do
138
138
SECONDS=0
139
139
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
-
149
140
info " Checking build with $args "
150
141
# shellcheck disable=SC2086
151
142
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 " \
154
145
meson setup \
155
146
-Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
156
147
-Dnobody-group=nogroup -Dcryptolib=" ${CRYPTOLIB:? } " \
You can’t perform that action at this time.
0 commit comments