diff --git a/editors/chexedit/Makefile b/editors/chexedit/Makefile index 229a1968b5db..cafb9d7ecb59 100644 --- a/editors/chexedit/Makefile +++ b/editors/chexedit/Makefile @@ -21,6 +21,9 @@ CONFIGURE_ENV+= ac_cv_header_ncurses_h=yes PLIST_FILES= bin/chexedit \ man/man1/chexedit.1.gz +# Fix build on recent current +CFLAGS+= -fcommon + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/hexedit ${STAGEDIR}${PREFIX}/bin/chexedit ${INSTALL_MAN} ${WRKSRC}/docs/hexedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/chexedit.1