Codebase list snapcast / 71d3659
Disable statically linking libgcc and libstdc++ Felix Geyer 5 years ago
3 changed file(s) with 28 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11
22 * New upstream release.
33 * Drop add_ldflags.patch, fixed upstream.
4 * Disable statically linking libgcc and libstdc++
5 - Add disable_static_linking.patch
46
57 -- Felix Geyer <fgeyer@debian.org> Tue, 10 Jul 2018 19:13:43 +0200
68
0 Description: Disable statically linking libgcc and libstdc++
1 Bug: https://github.com/badaix/snapcast/issues/404
2
3 --- a/client/Makefile
4 +++ b/client/Makefile
5 @@ -81,7 +81,7 @@ else
6 CXX = g++
7 STRIP = strip
8 CXXFLAGS += -pthread -DHAS_VORBIS -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON
9 -LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -static-libgcc -static-libstdc++ -latomic
10 +LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -latomic
11 OBJ += ../common/daemon.o player/alsaPlayer.o browseZeroConf/browseAvahi.o
12
13 endif
14 --- a/server/Makefile
15 +++ b/server/Makefile
16 @@ -87,7 +87,7 @@ else
17 CXX = g++
18 STRIP = strip
19 CXXFLAGS += -DHAS_AVAHI -DHAS_DAEMON -pthread
20 -LDFLAGS += -lrt -lavahi-client -lavahi-common -static-libgcc -static-libstdc++
21 +LDFLAGS += -lrt -lavahi-client -lavahi-common
22 OBJ += ../common/daemon.o publishZeroConf/publishAvahi.o
23
24 endif
0 disable_static_linking.patch