gcc: enable parallel building
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 23 Sep 2021 20:40:08 +0000 (17:40 -0300)
committerRosen Penev <rosenp@gmail.com>
Fri, 8 Oct 2021 16:50:29 +0000 (09:50 -0700)
commit1f91016ac35ee4ef007578b0d4bbe78eaeb9db67
tree0fce613e49c27773f5176a3ef7f9491e0f7c5d71
parent19877a952d1136e134547835d335ffc771917ccc
gcc: enable parallel building

Even though PKG_BUILD_PARALLEL is set for the package, the package calls
$(MAKE) without $(PKG_JOBS), so it was always built with only one job.

Fix this by adding $(PKG_JOBS) to the $(MAKE) call, and calling make
install only after make all is finished.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
devel/gcc/Makefile