From 3371ad587bb52ef0b4a714fcf87ec8f00baaa1f0 Mon Sep 17 00:00:00 2001 From: Ammar Date: Mon, 24 Nov 2025 13:47:02 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20fix:=20prevent=20unbound=20varia?= =?UTF-8?q?ble=20errors=20from=20system=20bashrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds --norc to .SHELLFLAGS in Makefile to prevent bash from sourcing /etc/bash.bashrc or ~/.bashrc during build commands. This fixes an issue where system bashrc files containing strict checks (like checking PS1 with set -u) would cause build failures or log spam because make runs shells with -u (nounset). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 866e23f8b9..845feae2d9 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ SHELL := bash else SHELL := /usr/bin/env bash endif -.SHELLFLAGS := -eu -o pipefail -c +.SHELLFLAGS := --norc -eu -o pipefail -c # Enable parallel execution by default (only if user didn't specify -j) ifeq (,$(filter -j%,$(MAKEFLAGS)))