aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch
blob: 3abd381891ff92862b71030ebf98e4a2452dda99 (plain)
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