From 4f8f4afba1535b04b5d8679223e6bd3001254c41 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 28 May 2023 19:35:54 +0300 Subject: [PATCH] fix CC= being ignored for for-build --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 5f485cfb..4934244c 100644 --- a/makefile +++ b/makefile @@ -111,7 +111,7 @@ else i_OUTPUT_BIN := $(i_OUTPUT) endif ifeq ($(origin CC),command line) - i_CC := $(CC) + override i_CC := $(CC) custom = 1 endif ifeq ($(origin FFI),command line) @@ -151,7 +151,7 @@ ifeq ($(i_REPLXX_1),1) i_CC_PIE := -fPIE endif ifeq ($(origin PIE),command line) - i_PIE := $(PIE) + override i_PIE := $(PIE) custom = 1 endif ifeq ($(origin f),command line)