From bfabad1bd11fe7fa397a93fd8c8d3844f4280268 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 18 Dec 2020 17:13:32 -0800 Subject: [PATCH] erlang: disable PGO on host Fixes compilation with clang. The make system misidentifies clang as GCC for some reason. Signed-off-by: Rosen Penev --- lang/erlang/Makefile | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 52c5054fd4..2be208715e 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=erlang PKG_VERSION:=23.0 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=otp_src_$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= http://www.erlang.org/download/ @@ -314,20 +314,10 @@ endef HOST_CONFIGURE_ARGS += \ --disable-hipe \ + --disable-pgo \ --disable-smp-support \ --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 CONFIGURE_ARGS += \ -- 2.30.2