diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..cf31661 --- /dev/null +++ b/_constraints @@ -0,0 +1,7 @@ + + + + 1800 + + + diff --git a/mold.changes b/mold.changes index 16737f1..fd85105 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri May 13 09:31:25 UTC 2022 - Martin Liška + +- Use better CC and TEST_CC variables. + +------------------------------------------------------------------- +Fri May 13 09:21:22 UTC 2022 - Martin Liška + +- Add memory per job constraint. + ------------------------------------------------------------------- Tue May 10 12:30:07 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index d9cd8cf..8599d1d 100644 --- a/mold.spec +++ b/mold.spec @@ -67,9 +67,6 @@ build time especially in rapid debug-edit-rebuild cycles. %if %{suse_version} < 1550 export CC=gcc-10 export CXX=g++-10 -%else -export CC=gcc -export CXX=g++ %endif export CXXFLAGS="%{optflags} -Wno-sign-compare" @@ -93,6 +90,10 @@ LIBEXECDIR=%{_libexecdir} \ %{build_args} %check +%if %{suse_version} < 1550 +export TEST_CC=gcc-10 +export TEST_CXX=g++-10 +%endif make test -k -e \ PREFIX=%{_prefix} \ BINDIR=%{_bindir} \