summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2017-07-11 08:28:43 +0000
committerdinoex <dinoex@FreeBSD.org>2017-07-11 08:28:43 +0000
commit7d9f392cd7d642fec94eb072f5601e4bbc68c21d (patch)
tree5a7faccce8f377669f1ac5df69d179134f60cd99
parent12a67cc299a984af7b1347af3266b897fb068e9f (diff)
downloadFreeBSD-ports-7d9f392cd7d642fec94eb072f5601e4bbc68c21d.zip
FreeBSD-ports-7d9f392cd7d642fec94eb072f5601e4bbc68c21d.tar.gz
- fix build on armv6
PR: 220591 Submitted by: Mikael Urankar
-rw-r--r--graphics/graphviz/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 5a63a64..e38fe35 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -22,6 +22,10 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
USES= bison cpe gmake jpeg libtool:keepla pkgconfig pathfix shebangfix
GNU_CONFIGURE= yes
+# sincos is broken on armv6, see ports/220591
+CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \
+ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \
+ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
PLIST_SUB= PORTVERSION="${PORTVERSION}"
OpenPOWER on IntegriCloud