1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Explicitly build with -std=gnu++03.

This fixes the build with GCC 6, which defaults to -std=gnu++14. The project
seems to be incompatible with C++11 and later.

PR:		219281
Approved by:	portmgr (blanket approval)
This commit is contained in:
Raphael Kubo da Costa 2017-08-01 09:04:35 +00:00
parent 9cd7f215d2
commit 32535d599a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447015

View File

@ -15,5 +15,9 @@ BROKEN_armv6= fails to configure: checking for VERLIHUB - version >= 0... no (s
PLUGIN_NAME= floodprot
PLUGIN_DESC= Floodprotect
# Bug 219281: the port fails to build in C++14 mode (the default in GCC 6),
# switch back to the old default GCC used before.
USE_CXXSTD= gnu++03
.include "../verlihub-plugins/Makefile.plugins"
.include <bsd.port.mk>