From e9d6a52b5d58a88f7f6afff6c6f57957751a24bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Kr=C3=A1l?= Date: Mon, 15 Jan 2024 18:01:55 +0100 Subject: [PATCH] progress on #166 FragPipe --- 166_FragPipe/Philosopher-5.0.0-GCC-11.3.0.eb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/166_FragPipe/Philosopher-5.0.0-GCC-11.3.0.eb b/166_FragPipe/Philosopher-5.0.0-GCC-11.3.0.eb index c852b7de..cb66397c 100644 --- a/166_FragPipe/Philosopher-5.0.0-GCC-11.3.0.eb +++ b/166_FragPipe/Philosopher-5.0.0-GCC-11.3.0.eb @@ -20,7 +20,9 @@ builddependencies = [ ] prebuildopts = 'export CC="$CC" CFLAGS="$CFLAGS" && ' -buildopts = "deploy && make philosopher" +# we want to make sure we get a static binary, +# see also https://mt165.co.uk/blog/static-link-go +buildopts = "deploy && export CGO_ENABLED=0 && make philosopher" files_to_copy = [ (['%(namelower)s'], 'bin'),