Request C++11 support for Clang, so that linking works.
This commit is contained in:
parent
dd6aa89587
commit
1da00cba3e
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.22 2013/11/20 20:04:37 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2014/02/21 20:26:03 joerg Exp $
|
||||
|
||||
DISTNAME= exiv2-0.23
|
||||
PKGNAME= exiv2-organize-0.23
|
||||
|
@ -31,6 +31,8 @@ do-install:
|
|||
# GCC 4.4 and above needs this
|
||||
.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)
|
||||
_WRAP_EXTRA_ARGS.CXX+= -std=c++0x
|
||||
.elif !empty(PKGSRC_COMPILER:Mclang)
|
||||
_WRAP_EXTRA_ARGS.CXX+= -std=c++11
|
||||
.endif
|
||||
|
||||
.include "../../graphics/exiv2/buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue