FreeBSD Bugzilla – Attachment 171535 Details for
Bug 210327
devel/qmake5: USES=compiler:c++14-lang adds -std=c++11, not -std=c++14 to CXXFLAGS in qmake build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
experimental patch to devel/qmake5
patch-mkspecs_features_c++14.prf (text/plain), 845 bytes, created by
Tobias Berner
on 2016-06-18 06:59:05 UTC
(
hide
)
Description:
experimental patch to devel/qmake5
Filename:
MIME Type:
Creator:
Tobias Berner
Created:
2016-06-18 06:59:05 UTC
Size:
845 bytes
patch
obsolete
>--- mkspecs/features/c++14.prf.orig 2016-06-18 06:47:19 UTC >+++ mkspecs/features/c++14.prf >@@ -2,11 +2,9 @@ intel_icc { > # ICC does not support C++14 yet > } else: clang { > # Clang has supported -std=c++1y since version 3.2 >- greaterThan(QT_CLANG_MAJOR_VERSION, 3)|greaterThan(QT_CLANG_MINOR_VERSION, 1): \ >- QMAKE_CXXFLAGS_CXX11 = -std=c++1y >- # Unknown how long Apple Clang has supported -std=c++1y, but at least since XCode 5.0 >- greaterThan(QT_APPLE_CLANG_MAJOR_VERSION, 4): \ >- QMAKE_CXXFLAGS_CXX11 = -std=c++1y >+ # FreeBSD only ships clangs >= 3.4 which all support c++14 to an extent. >+ # So enable it if 'CONFIG=c++14' >+ QMAKE_CXXFLAGS_CXX11 = -std=c++1y > } else: gcc { > # GCC has supported -std=c++1y since 4.8 > greaterThan(QT_GCC_MAJOR_VERSION, 4)|greaterThan(QT_GCC_MINOR_VERSION, 7): \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rakuco
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 210327
:
171524
| 171535