Browse Source

toolchain: gmp: Fix for compile with gcc-15

Configure fails for a function declared as g() taking arguments. Seems
like gcc-15 became more strict wrt. function declaration.

Workaround found here: https://bugs.gentoo.org/943710

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter 1 month ago
parent
commit
8948b80908
1 changed files with 1 additions and 0 deletions
  1. 1 0
      toolchain/gmp/Makefile

+ 1 - 0
toolchain/gmp/Makefile

@@ -22,6 +22,7 @@ $(WRKBUILD)/.configured:
 		--with-pic \
 		--disable-shared \
 		--enable-static \
+		CFLAGS="-std=gnu17" \
 	)
 	touch $@