summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch')
-rw-r--r--meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch b/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch
new file mode 100644
index 000000000..3abd38189
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch
@@ -0,0 +1,18 @@
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