>From 336cc22535eea2450a0af19db4d8c8035f215a09 Mon Sep 17 00:00:00 2001 From: Knut Petersen Date: Sun, 13 Jan 2019 17:01:46 +0100 Subject: [PATCH 1/3] Fix building python on openSuSE tumbleweed Use gcc-7 as our ancient python seems to be incompatible to the gcc v8.2.1 found on openSuSE Tumbleweed. --- gub/specs/python.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gub/specs/python.py b/gub/specs/python.py index 049b26f2..631d260f 100644 --- a/gub/specs/python.py +++ b/gub/specs/python.py @@ -191,6 +191,8 @@ class Python__tools (tools.AutoBuild, Python): ] force_autoupdate = True parallel_build_broken = True + configure_command = ('LDFLAGS=-L%(system_prefix)s/lib CC=gcc-7 ' + + tools.AutoBuild.configure_command) make_flags = Python.make_flags + ' LIBC="-lcrypt -ldb"' def patch (self): Python.patch (self) -- 2.20.1