mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-26 11:16:39 +04:00
Merge pull request #740 from svlobanov/kamailio-fix-build-on-macos
kamailio: fix build on macos
This commit is contained in:
@@ -235,6 +235,7 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/nls.mk
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
include $(TOPDIR)/feeds/packages/lang/python/python3-version.mk
|
include $(TOPDIR)/feeds/packages/lang/python/python3-version.mk
|
||||||
|
|
||||||
# Build reproducibly
|
# Build reproducibly
|
||||||
@@ -412,6 +413,8 @@ CPU_MIPS2:=mips32 24kc 34kc 4kec 74kc
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
|
OS=linux \
|
||||||
|
OSREL=$(LINUX_UNAME_VERSION) \
|
||||||
$(if $(findstring $(call qstrip,$(CONFIG_CPU_TYPE)),$(CPU_MIPS2)),ARCH="mips2",ARCH="$(ARCH)") \
|
$(if $(findstring $(call qstrip,$(CONFIG_CPU_TYPE)),$(CPU_MIPS2)),ARCH="mips2",ARCH="$(ARCH)") \
|
||||||
CC_EXTRA_OPTS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
CC_EXTRA_OPTS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LD="$(TARGET_CC)" \
|
LD="$(TARGET_CC)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user