erlang: disable PGO on host 14399/head
authorRosen Penev <rosenp@gmail.com>
Sat, 19 Dec 2020 01:13:32 +0000 (17:13 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 1 Jan 2021 02:12:22 +0000 (18:12 -0800)
Fixes compilation with clang. The make system misidentifies clang as
GCC for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lang/erlang/Makefile

index 52c5054fd485339ac2b081b05a47106dc44d2448..2be208715ea47bb6ed06f68f8b38241fd719d168 100644 (file)
@@ -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 += \