1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

graphics/s2: fix build on powerpc64

Specifically optimize for POWER7 or later:
/wrkdirs/usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/util/bits/bits.h:509:19: error: this builtin is only valid on POWER7 or later CPUs
  uint64 result = __builtin_bpermd(0x3f3e3d3c3b3a3938, temp);
This commit is contained in:
Piotr Kubaj 2020-10-29 17:28:57 +00:00
parent 7a538814e6
commit 5e82ad37c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553629

View File

@ -34,6 +34,8 @@ GFLAGS_LIB_DEPENDS= libgflags.so:devel/gflags
GLOG_CMAKE_BOOL= WITH_GLOG
GLOG_LIB_DEPENDS= libglog.so:devel/glog
CXXFLAGS_powerpc64= -mcpu=power7
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/examples/point_index ${INSTALL_WRKSRC}/examples/term_index ${STAGEDIR}${EXAMPLESDIR}