mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
nginx: fix broken proxy_pass feature
[NGINX ticket #748 - https://trac.nginx.org/nginx/ticket/748] Accoriding to #748 or https://github.com/archlinuxarm/PKGBUILDs/issues/1161, respectively, proxy_pass is broken on some architectures without position independent code. The solution is adding -fPIE -pie as build flags. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
79f44c65ce
commit
67e0959f33
@@ -24,6 +24,9 @@ SRC_URI[sha256sum] = "7c989a58e5408c9593da0bebcd0e4ffc3d892d1316ba5042ddb0be5b0b
|
|||||||
|
|
||||||
inherit update-rc.d useradd
|
inherit update-rc.d useradd
|
||||||
|
|
||||||
|
CFLAGS_append = " -fPIE -pie"
|
||||||
|
CXXFLAGS_append = " -fPIE -pie"
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
if [ "${SITEINFO_BITS}" = "64" ]; then
|
if [ "${SITEINFO_BITS}" = "64" ]; then
|
||||||
PTRSIZE=8
|
PTRSIZE=8
|
||||||
|
|||||||
Reference in New Issue
Block a user