1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

math/csdp: fix build on powerpc

LLVM on powerpc doesn't have libomp:
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include   -c -o op_o.o op_o.c
op_o.c:15:10: fatal error: 'omp.h' file not found
This commit is contained in:
Piotr Kubaj 2021-06-15 08:41:15 +00:00
parent c5e96ec080
commit 05931c0cc8

View File

@ -29,6 +29,12 @@ PLIST_FILES= bin/complement \
bin/rand_graph \
bin/theta
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.endif
post-stage:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*