diff --git a/virtualbox.changes b/virtualbox.changes index ee18d72..70f7f3a 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 13 16:11:14 UTC 2016 - Larry.Finger@lwfinger.net + +- Builds keep running out of memory when building the web server part of the package. + To help the memory pressure, I have forced make to run with "-j2", rather than use + the number of processors. Such a change will slow the build, but will result in a + higher rate of success. + ------------------------------------------------------------------- Wed Oct 12 20:07:16 UTC 2016 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index a921b45..967ec1d 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -422,12 +422,7 @@ for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \ $PWD/modules_build_dir/$flavor/$module_name fi # build the module for the specific flavor - %ifarch %ix86 - make -j2 \ - %else - make %{?_smp_mflags} \ - %endif - -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \ + make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \ M=$PWD/modules_build_dir/$flavor/$module_name done done