From 568f6ed2d499ecbc22d509fc7d4da60113e777b0 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 23 Sep 2020 15:49:10 +0000 Subject: [PATCH] math/lrslib: fix build on GCC architectures Use C11 compiler: lrslong.h:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_mp' lrslong.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token lrslong.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token lrslong.h:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token lrslong.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_alloc_mp_t' lrslong.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_alloc_mp_vector' --- math/lrslib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/lrslib/Makefile b/math/lrslib/Makefile index 8971f6f3b759..9746037ecc41 100644 --- a/math/lrslib/Makefile +++ b/math/lrslib/Makefile @@ -16,7 +16,7 @@ BROKEN_i386= error: __int128 is not supported on this target LIB_DEPENDS= libgmp.so:math/gmp -USES= gmake libtool localbase:ldflags +USES= compiler:c11 gmake libtool localbase:ldflags USE_LDCONFIG= yes MAKEFILE= makefile