From 6f25bed1332fbcece82cdc440faabdf919e9d33a1478091bd02f507d29f5fa7a Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 9 Apr 2021 07:48:08 +0000 Subject: [PATCH] Accepting request 883261 from home:mnhauke - Add "-Wl,--start-group" to CFLAGS to fix Tumbeweed linking errors. OBS-URL: https://build.opensuse.org/request/show/883261 OBS-URL: https://build.opensuse.org/package/show/utilities/bitwise?expand=0&rev=3 --- bitwise.changes | 6 ++++++ bitwise.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bitwise.changes b/bitwise.changes index 4c2cf2b..3518db9 100644 --- a/bitwise.changes +++ b/bitwise.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 6 10:40:17 UTC 2021 - Martin Hauke + +- Add "-Wl,--start-group" to CFLAGS to fix Tumbeweed linking + errors. + ------------------------------------------------------------------- Sun Dec 6 19:21:18 UTC 2020 - Martin Hauke diff --git a/bitwise.spec b/bitwise.spec index db359e4..f5dda62 100644 --- a/bitwise.spec +++ b/bitwise.spec @@ -1,6 +1,7 @@ # # spec file for package bitwise # +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2020, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -46,7 +47,7 @@ Some of the features include: %build autoreconf -fiv -export CFLAGS="%{optflags} $(pkg-config --cflags ncursesw) $(pkg-config --libs ncursesw)" +export CFLAGS="-Wl,--start-group %{optflags} $(pkg-config --cflags --libs ncursesw)" %configure %make_build