1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- fix build on armv6

PR:		220591
Submitted by:	Mikael Urankar
This commit is contained in:
Dirk Meyer 2017-07-11 08:28:43 +00:00
parent f540c29db3
commit f762c93049
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445473

View File

@ -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}"