Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2023 18:27:13 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 642d98961ac8 - main - misc/bb: unbreak on non-x86
Message-ID:  <202310111827.39BIRDSa091292@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=642d98961ac8c01ffff64c6d54ced604177d2af4

commit 642d98961ac8c01ffff64c6d54ced604177d2af4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-10-10 15:32:39 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-10-11 18:26:34 +0000

    misc/bb: unbreak on non-x86
    
    cc1: error: '-Wno-error=incompatible-function-pointer-types': no option '-Wincompatible-function-pointer-types'; did you mean '-Wincompatible-pointer-types'?
---
 misc/bb/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index 834adea34e96..d153b0c11bd2 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -25,9 +25,7 @@ OPTIONS_DEFINE=	DOCS
 
 .if ${ARCH} != amd64 && ${ARCH} != i386
 USES+=		compiler:gcc-c++11-lib
-.endif
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+.elif ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
 CFLAGS+=	-Wno-error=incompatible-function-pointer-types
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310111827.39BIRDSa091292>