From 9a375e02950740119f7bd7f83ef07e323675a6d5 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sat, 18 Mar 2017 20:57:22 +0100 Subject: [PATCH] Inherit MAKEFLAGS from environment if defined --- etc/astronaut.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/astronaut.conf b/etc/astronaut.conf index 58deebe..0863edd 100644 --- a/etc/astronaut.conf +++ b/etc/astronaut.conf @@ -25,6 +25,6 @@ package_options() { export CFLAGS='-mtune=atom -pipe -O3' export CXXFLAGS="$CFLAGS" -export MAKEFLAGS="-j $(grep processor /proc/cpuinfo | wc -l)" +export MAKEFLAGS="${MAKEFLAGS:--j $(grep processor /proc/cpuinfo | wc -l)}" export WAFFLAGS="$MAKEFLAGS" export BAMFLAGS="$MAKEFLAGS"