qt5-qtbase: Set GCC_REQD before including bsd.prefs.mk
Should help with the current workarounds to avoid gcc49 and gcc5 on CentOS 7 due to inlining bugs.
This commit is contained in:
parent
903170f361
commit
fc822c4705
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.46 2020/11/29 22:33:21 dbj Exp $
|
||||
# $NetBSD: Makefile.common,v 1.47 2020/12/06 11:18:40 nia Exp $
|
||||
# used by x11/qt5-mysql/Makefile
|
||||
# used by x11/qt5-odbc/Makefile
|
||||
# used by x11/qt5-psql/Makefile
|
||||
|
@ -30,6 +30,9 @@
|
|||
# used by x11/qt5-qtx11extras/Makefile
|
||||
# used by x11/qt5-qtxmlpatterns/Makefile
|
||||
|
||||
# https://doc.qt.io/qt-5/supported-platforms.html
|
||||
GCC_REQD+= 5
|
||||
|
||||
.include "../../x11/qt5/Makefile.common"
|
||||
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
|
@ -38,9 +41,6 @@ BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
|
|||
USE_LANGUAGES= c gnu++11
|
||||
USE_TOOLS+= gmake perl:build pkg-config
|
||||
|
||||
# https://doc.qt.io/qt-5/supported-platforms.html
|
||||
GCC_REQD+= 5
|
||||
|
||||
# Avoid failures to due 'register' usage in X11 headers.
|
||||
CFLAGS+= -Wno-register
|
||||
|
||||
|
|
Loading…
Reference in a new issue