git: 642d98961ac8 - main - misc/bb: unbreak on non-x86
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Oct 2023 18:27:13 UTC
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