mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
math/clrng: fix with GCC based architectures
PR: 234440 Submitted by: Piotr Kubaj
This commit is contained in:
parent
8bcc70a7c1
commit
97ebffff58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488629
1 changed files with 8 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
PORTNAME= clrng
|
PORTNAME= clrng
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 1.0.0-beta
|
DISTVERSION= 1.0.0-beta
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
MAINTAINER= jmd@FreeBSD.org
|
MAINTAINER= jmd@FreeBSD.org
|
||||||
|
@ -34,4 +34,10 @@ CMAKE_ARGS+= -DBUILD_CLIENT=OFF \
|
||||||
|
|
||||||
CMAKE_SOURCE_PATH= ${WRKSRC}/src
|
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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue