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