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 @@ -142,20 +142,11 @@ for args in "${ARGS[@]}"; do
142
142
# It can be safely removed from the CI since it isn't actually used anywhere to test anything.
143
143
find . -type f -name meson.build -exec sed -i ' /install_tag/d' ' {}' ' +'
144
144
145
- # mold < 1.1 does not support LTO.
146
- if dpkg --compare-versions " $( dpkg-query --showformat=' ${Version}' --show mold) " ge 1.1; then
147
- fatal " Newer mold version detected, please remove this workaround."
148
- elif [[ " $args " == * " -Db_lto=true" * ]]; then
149
- LD=" gold"
150
- else
151
- LD=" $LINKER "
152
- fi
153
-
154
145
info " Checking build with $args "
155
146
# shellcheck disable=SC2086
156
147
if ! AR=" $AR " \
157
- CC=" $CC " CC_LD=" $LD " CFLAGS=" $CFLAGS " \
158
- CXX=" $CXX " CXX_LD=" $LD " CXXFLAGS=" $CXXFLAGS " \
148
+ CC=" $CC " CC_LD=" $LINKER " CFLAGS=" $CFLAGS " \
149
+ CXX=" $CXX " CXX_LD=" $LINKER " CXXFLAGS=" $CXXFLAGS " \
159
150
meson -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
160
151
-Dnobody-group=nogroup -Dcryptolib=" ${CRYPTOLIB:? } " \
161
152
$args build; then
You can’t perform that action at this time.
0 commit comments