Skip to content

Commit

Permalink
misc/bb: unbreak on non-x86
Browse files Browse the repository at this point in the history
cc1: error: '-Wno-error=incompatible-function-pointer-types': no option '-Wincompatible-function-pointer-types'; did you mean '-Wincompatible-pointer-types'?
  • Loading branch information
pkubaj committed Oct 11, 2023
1 parent a9b2c26 commit 642d989
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions misc/bb/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit 642d989

Please sign in to comment.