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