tools/fakeroot: explicitly pass CPP variable
[openwrt/staging/thess.git] / tools / fakeroot / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=fakeroot
8 PKG_VERSION:=1.26
9 PKG_RELEASE:=1
10
11 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
12 PKG_SOURCE_URL:=@DEBIAN/pool/main/f/fakeroot
13 PKG_HASH:=480a578ffdc5592e73df4c086950d321b4adc78dbdaec56c82e4fe1fb68de8e9
14 PKG_LICENSE:=GPL-3.0-or-later
15 PKG_LICENSE_FILES:=COPYING
16 PKG_FIXUP:=autoreconf
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 HOST_CONFIGURE_VARS += \
21 ac_cv_header_sys_capability_h=no \
22 ac_cv_func_capset=no \
23 CPP="$(HOSTCC) -E"
24
25 HOST_CONFIGURE_ARGS += \
26 --with-ipc=tcp
27
28 $(eval $(call HostBuild))