diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-10 15:40:26 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-10 15:40:26 +0000 |
commit | 5c521c60ea81e855680d0e8ff454ee0be3dfc656 (patch) | |
tree | 0641ed1908bc76d104dab5809d722655a7b3fc78 /graphics/opencv-core | |
parent | 39bb27e14c2ec66580f27bbb49c435552a4911b6 (diff) |
Fix opencv-core with libc++
Submitted by: theraven
Notes
Notes:
svn path=/head/; revision=326912
Diffstat (limited to 'graphics/opencv-core')
-rw-r--r-- | graphics/opencv-core/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/opencv-core/Makefile b/graphics/opencv-core/Makefile index 50dd345f984d..f8c078f2d49a 100644 --- a/graphics/opencv-core/Makefile +++ b/graphics/opencv-core/Makefile @@ -4,4 +4,9 @@ _BUILDING_OPENCV_CORE= yes MASTERDIR= ${.CURDIR}/../opencv +_COMPVERSION!= ${CC} --version +.if ${_COMPVERSION:Mclang} +CXXFLAGS+= -std=gnu++11 -Wno-error -Wno-c++11-narrowing +.endif + .include "${MASTERDIR}/Makefile" |