pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/rttr



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Jan 10 21:12:58 UTC 2020

Modified Files:
        pkgsrc/devel/rttr: Makefile

Log Message:
Ignore truncation warnings from clang, e.g. on implicit casts from
INT64_T to float/double.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/rttr/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/rttr/Makefile
diff -u pkgsrc/devel/rttr/Makefile:1.2 pkgsrc/devel/rttr/Makefile:1.3
--- pkgsrc/devel/rttr/Makefile:1.2      Sun Dec  1 08:18:46 2019
+++ pkgsrc/devel/rttr/Makefile  Fri Jan 10 21:12:58 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/12/01 08:18:46 markd Exp $
+# $NetBSD: Makefile,v 1.3 2020/01/10 21:12:58 joerg Exp $
 
 DISTNAME=      rttr-0.9.6-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -19,6 +19,11 @@ CMAKE_ARGS+= -DBUILD_EXAMPLES=OFF
 CMAKE_ARGS+=   -DBUILD_UNIT_TESTS=OFF
 CMAKE_ARGS+=   -DBUILD_DOCUMENTATION=OFF
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS+=     -Wno-error=implicit-int-float-conversion
+.endif
+
 post-install:
        chmod -R a+r ${DESTDIR}/${PREFIX}/include/rttr/
        chmod a+r ${DESTDIR}/${PREFIX}/share/rttr/*



Home | Main Index | Thread Index | Old Index