From 13e9c37ebe8e68084f53c571c5f442249723edd3 Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Mon, 12 Nov 2018 15:54:19 +0000 Subject: [PATCH] Fix build problems on i386 Use GCC seems to be proper way to do it. SSE2 would not be available for all CPU:s. --- databases/postgresql10-server/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/databases/postgresql10-server/Makefile b/databases/postgresql10-server/Makefile index e0ed5b101e84..649f1971cb6a 100644 --- a/databases/postgresql10-server/Makefile +++ b/databases/postgresql10-server/Makefile @@ -161,6 +161,10 @@ SUB_LIST+= PG_GROUP=${PG_GROUP} \ .include +.if ${ARCH} == "i386" +USES+= compiler:gcc-c++11-lib +.endif + .if !defined(SLAVE_ONLY) .if ${DISTVERSION:C/([0-9]*).*/\1/} != 10 . if ( defined(SERVER_ONLY) && ${PORT_OPTIONS:MICU} ) || make(makesum)