blob: 6e34a8a9844d87cf2e0df67bda5c4d95965cfec6 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001Change 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
Patrick Williams8e7b46e2023-05-01 14:19:06 -05004Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006
7Index: caps-0.9.24/Makefile
8===================================================================
9--- caps-0.9.24.orig/Makefile
10+++ caps-0.9.24/Makefile
11@@ -14,7 +14,7 @@ STRIP = strip
12 -include defines.make
13
14 CFLAGS += $(OPTS) $(_CFLAGS)
15-LDFLAGS += $(_LDFLAGS) $(CFLAGS)
16+LDFLAGS += $(CFLAGS) $(_LDFLAGS)
17
18 PLUG = caps
19