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