Reduce optimization even more for s390x

This commit is contained in:
Stuart D. Gathman 2020-01-24 15:04:46 -05:00
parent 3518bccda1
commit f1233d711c

View File

@ -330,8 +330,12 @@ fi
rm -rf node_build/dependencies/libuv
%else
rm -rf node_build/dependencies/libuv/build/gyp # use system gyp
%ifarch s390x
sed -i -e '/optimizeLevel:/ s/-O0/-O1/' node_build/make.js
%else
sed -i -e '/optimizeLevel:/ s/-O0/-O2/' node_build/make.js
%endif
%endif
%patch19 -p1 -b .fuzz
#patch20 -p1 -b .sysctl
%patch22 -b .gcc10