From 1342465600149f37353f759eecfd2d6a13a8c873 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Tue, 23 Feb 2021 20:28:54 +0100 Subject: [PATCH] hopefully fix forcing makeopts... --- profiles/targets/desktop/bashrc/half_parallell.rc | 2 +- profiles/targets/desktop/bashrc/no_parallell.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/targets/desktop/bashrc/half_parallell.rc b/profiles/targets/desktop/bashrc/half_parallell.rc index 566e829..2a5e23a 100644 --- a/profiles/targets/desktop/bashrc/half_parallell.rc +++ b/profiles/targets/desktop/bashrc/half_parallell.rc @@ -1,2 +1,2 @@ nr_cpu=$(lscpu -p | egrep -v '^#' | wc -l) -MAKEOPTS="-j$(( ${nr_cpu}/2 ))" +export MAKEOPTS="-j$(( ${nr_cpu}/2 ))" diff --git a/profiles/targets/desktop/bashrc/no_parallell.rc b/profiles/targets/desktop/bashrc/no_parallell.rc index 1b43095..2c740b7 100644 --- a/profiles/targets/desktop/bashrc/no_parallell.rc +++ b/profiles/targets/desktop/bashrc/no_parallell.rc @@ -1 +1 @@ -MAKEOPTS="-j1" +export MAKEOPTS="-j1"