math/clrng: fix with GCC based architectures

PR:	234440
Submitted by:	Piotr Kubaj
This commit is contained in:
Johannes M Dieterich 2018-12-28 21:32:12 +00:00
parent 8bcc70a7c1
commit 97ebffff58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488629

View file

@ -4,7 +4,7 @@
PORTNAME= clrng
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0-beta
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= jmd@FreeBSD.org
@ -34,4 +34,10 @@ CMAKE_ARGS+= -DBUILD_CLIENT=OFF \
CMAKE_SOURCE_PATH= ${WRKSRC}/src
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
CFLAGS+= -Wno-expansion-to-defined
.endif
.include <bsd.port.post.mk>