aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-10-13 16:36:16 +0200
committerFelix Fietkau <nbd@nbd.name>2021-10-13 16:48:53 +0200
commit48e209e5c5a76dd0ce4a2a8b014416dc988269a3 (patch)
tree935192f11348a995a3052b3318e283174baed3d8 /tools
parente07cc4699127d882f619c978c215bf2a762b61fa (diff)
downloadupstream-48e209e5c5a76dd0ce4a2a8b014416dc988269a3.tar.gz
upstream-48e209e5c5a76dd0ce4a2a8b014416dc988269a3.tar.bz2
upstream-48e209e5c5a76dd0ce4a2a8b014416dc988269a3.zip
tools/fakeroot: explicitly pass CPP variable
For some reason, the generated configure script fails to properly set up the internal preprocessor command variable, causing the host OS check for Darwin to fail after the last update. Explicitly setting CPP fixes this issue Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools')
-rw-r--r--tools/fakeroot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/fakeroot/Makefile b/tools/fakeroot/Makefile
index 5c5f25e226..f4333fbfb3 100644
--- a/tools/fakeroot/Makefile
+++ b/tools/fakeroot/Makefile
@@ -19,7 +19,8 @@ include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_VARS += \
ac_cv_header_sys_capability_h=no \
- ac_cv_func_capset=no
+ ac_cv_func_capset=no \
+ CPP="$(HOSTCC) -E"
HOST_CONFIGURE_ARGS += \
--with-ipc=tcp