aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch
blob: 6e34a8a9844d87cf2e0df67bda5c4d95965cfec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>

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