mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
83bf22ba2e
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>
(cherry-picked from commit 48e209e5c5
)
29 lines
683 B
Makefile
29 lines
683 B
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fakeroot
|
|
PKG_VERSION:=1.25.3
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
|
PKG_SOURCE_URL:=http://deb.debian.org/debian/pool/main/f/fakeroot
|
|
PKG_HASH:=8e903683357f7f5bcc31b879fd743391ad47691d4be33d24a76be3b6c21e956c
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
HOST_CONFIGURE_VARS += \
|
|
ac_cv_header_sys_capability_h=no \
|
|
ac_cv_func_capset=no \
|
|
CPP="$(HOSTCC) -E"
|
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
--with-ipc=tcp
|
|
|
|
$(eval $(call HostBuild))
|