1Change the order of linker flags such that -shared is appearig after -pie/-fpie
2this helps in building the package when secuiry flags are enabled
3
4-Khem
5
6Index: caps-0.9.24/Makefile
7===================================================================
8--- caps-0.9.24.orig/Makefile
9+++ caps-0.9.24/Makefile
10@@ -14,7 +14,7 @@ STRIP = strip
11 -include defines.make
12
13 CFLAGS += $(OPTS) $(_CFLAGS)
14-LDFLAGS += $(_LDFLAGS) $(CFLAGS)
15+LDFLAGS += $(CFLAGS) $(_LDFLAGS)
16
17 PLUG = caps
18
19