mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
caps: Fix buld with -pie
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
221ebebd4a
commit
4de601006d
|
|
@ -0,0 +1,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
|
||||
|
||||
|
|
@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|||
SRC_URI = "http://quitte.de/dsp/${PN}_${PV}.tar.bz2 \
|
||||
file://Avoid-ambiguity-in-div-invocation.patch \
|
||||
file://0001-basic.h-Use-c99-supported-stdint-types.patch \
|
||||
file://append_ldflags.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "c1d634038dcb54702306c0e30cb1c626"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user