From owner-dev-commits-ports-all@freebsd.org Wed Jun 30 20:38:15 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F128964C707; Wed, 30 Jun 2021 20:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GFY875Mdbz3t6l; Wed, 30 Jun 2021 20:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9AD971385B; Wed, 30 Jun 2021 20:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15UKcFwO038636; Wed, 30 Jun 2021 20:38:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15UKcFq5038635; Wed, 30 Jun 2021 20:38:15 GMT (envelope-from git) Date: Wed, 30 Jun 2021 20:38:15 GMT Message-Id: <202106302038.15UKcFq5038635@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 7a5d933b2fe5 - main - devel/elfutils: fix build on armv7 and powerpc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7a5d933b2fe5910f09beb8b3d58e3d994e827676 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 20:38:16 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a5d933b2fe5910f09beb8b3d58e3d994e827676 commit 7a5d933b2fe5910f09beb8b3d58e3d994e827676 Author: Piotr Kubaj AuthorDate: 2021-06-30 20:37:40 +0000 Commit: Piotr Kubaj CommitDate: 2021-06-30 20:37:40 +0000 devel/elfutils: fix build on armv7 and powerpc Same issues as on i386. --- devel/elfutils/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devel/elfutils/Makefile b/devel/elfutils/Makefile index 5634f05cb6d0..392a9404e949 100644 --- a/devel/elfutils/Makefile +++ b/devel/elfutils/Makefile @@ -16,7 +16,6 @@ LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING-LGPLV3 IGNORE_FreeBSD_11= fails to build: fails to compile dwarf_abbrev_hash.c BROKEN_armv6= fails to build: fails to compile i386_disasm.c -BROKEN_armv7= fails to build: fails to compile i386_disasm.c BROKEN_sparc64= sparc patch does not apply cleanly to 0.172 LIB_DEPENDS= libargp.so:devel/argp-standalone @@ -41,7 +40,9 @@ CFLAGS+= -Wno-null-dereference -Wno-unused-value # For GCC8: CFLAGS+= -Wno-cast-function-type # Give i386 a prayer of building, and we can fix the warnings later: -CFLAGS_i386+= -Wno-error +CFLAGS_armv7= -Wno-error +CFLAGS_i386= -Wno-error +CFLAGS_powerpc= -Wno-error # Avoid conflict with binutils / elftoolchain programs with the same names: CONFIGURE_ARGS+= --program-prefix=eu-