mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 17:20:13 +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:
@@ -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 \
|
SRC_URI = "http://quitte.de/dsp/${PN}_${PV}.tar.bz2 \
|
||||||
file://Avoid-ambiguity-in-div-invocation.patch \
|
file://Avoid-ambiguity-in-div-invocation.patch \
|
||||||
file://0001-basic.h-Use-c99-supported-stdint-types.patch \
|
file://0001-basic.h-Use-c99-supported-stdint-types.patch \
|
||||||
|
file://append_ldflags.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "c1d634038dcb54702306c0e30cb1c626"
|
SRC_URI[md5sum] = "c1d634038dcb54702306c0e30cb1c626"
|
||||||
|
|||||||
Reference in New Issue
Block a user