diff options
| author | Jens Rehsack <rehsack@gmail.com> | 2015-10-14 20:50:51 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-23 12:53:23 +0200 |
| commit | 67e0959f332937e70c9766caab6104e13ddd0619 (patch) | |
| tree | b06eeafd4b26fff32654a9d1ce185b2a0a66e3c6 | |
| parent | 79f44c65ce02e3f3d9b19c81c3fe82feaaeb4da7 (diff) | |
| download | meta-openembedded-67e0959f332937e70c9766caab6104e13ddd0619.tar.gz | |
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>
| -rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb index 0dfdb5b86a..27e4749d6d 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb +++ b/meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb | |||
| @@ -24,6 +24,9 @@ SRC_URI[sha256sum] = "7c989a58e5408c9593da0bebcd0e4ffc3d892d1316ba5042ddb0be5b0b | |||
| 24 | 24 | ||
| 25 | inherit update-rc.d useradd | 25 | inherit update-rc.d useradd |
| 26 | 26 | ||
| 27 | CFLAGS_append = " -fPIE -pie" | ||
| 28 | CXXFLAGS_append = " -fPIE -pie" | ||
| 29 | |||
| 27 | do_configure () { | 30 | do_configure () { |
| 28 | if [ "${SITEINFO_BITS}" = "64" ]; then | 31 | if [ "${SITEINFO_BITS}" = "64" ]; then |
| 29 | PTRSIZE=8 | 32 | PTRSIZE=8 |
