diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-05-03 08:38:38 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-05-03 08:38:38 +0000 |
commit | 5b99812dcc356c047deb6541432c2003597d6d78 (patch) | |
tree | 34b2442bcf322c038d08c6a15224a11fa82a1de2 /x11/qt4-libs | |
parent | 3976212695feabbd27bb2ec036df7e0bddfd4c70 (diff) | |
download | pkgsrc-5b99812dcc356c047deb6541432c2003597d6d78.tar.gz |
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'x11/qt4-libs')
-rw-r--r-- | x11/qt4-libs/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/qt4-libs/Makefile b/x11/qt4-libs/Makefile index 687fae6c349..441ef8432e8 100644 --- a/x11/qt4-libs/Makefile +++ b/x11/qt4-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.115 2017/02/12 06:26:14 ryoon Exp $ +# $NetBSD: Makefile,v 1.116 2017/05/03 08:38:46 jperkin Exp $ PKGNAME= qt4-libs-${QTVERSION} PKGREVISION= 6 @@ -28,9 +28,11 @@ CONFIGURE_ARGS+= -openssl-linked CONFIGURE_ARGS+= -iconv +USE_LANGUAGES+= c++11 + .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mclang) -CXXFLAGS+= -std=c++11 -Wno-c++11-narrowing +CXXFLAGS+= -Wno-c++11-narrowing . if empty(MACHINE_PLATFORM:MDarwin-*-*) CXXFLAGS+= -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC=1 . endif |