mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
erlang: disable PGO on host
Fixes compilation with clang. The make system misidentifies clang as GCC for some reason. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+2
-12
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=erlang
|
PKG_NAME:=erlang
|
||||||
PKG_VERSION:=23.0
|
PKG_VERSION:=23.0
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=otp_src_$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=otp_src_$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:= http://www.erlang.org/download/
|
PKG_SOURCE_URL:= http://www.erlang.org/download/
|
||||||
@@ -314,20 +314,10 @@ endef
|
|||||||
|
|
||||||
HOST_CONFIGURE_ARGS += \
|
HOST_CONFIGURE_ARGS += \
|
||||||
--disable-hipe \
|
--disable-hipe \
|
||||||
|
--disable-pgo \
|
||||||
--disable-smp-support \
|
--disable-smp-support \
|
||||||
--without-javac
|
--without-javac
|
||||||
|
|
||||||
HOST_CFLAGS += -D_GNU_SOURCE
|
|
||||||
|
|
||||||
define Host/Compile
|
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR) all
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Host/Install
|
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
|
|
||||||
# Target
|
# Target
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
|
|||||||
Reference in New Issue
Block a user