mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 01:30:23 +00:00
nginx: Add support for altering build configuration
Passing EXTRA_OECONF to ./configure, this allows to alter build configure Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
08d51bca6a
commit
9f3a2e92d3
@@ -27,6 +27,8 @@ inherit update-rc.d useradd
|
|||||||
CFLAGS_append = " -fPIE -pie"
|
CFLAGS_append = " -fPIE -pie"
|
||||||
CXXFLAGS_append = " -fPIE -pie"
|
CXXFLAGS_append = " -fPIE -pie"
|
||||||
|
|
||||||
|
EXTRA_OECONF = ""
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
if [ "${SITEINFO_BITS}" = "64" ]; then
|
if [ "${SITEINFO_BITS}" = "64" ]; then
|
||||||
PTRSIZE=8
|
PTRSIZE=8
|
||||||
@@ -55,7 +57,8 @@ do_configure () {
|
|||||||
--pid-path=/run/nginx/nginx.pid \
|
--pid-path=/run/nginx/nginx.pid \
|
||||||
--prefix=${prefix} \
|
--prefix=${prefix} \
|
||||||
--with-http_ssl_module \
|
--with-http_ssl_module \
|
||||||
--with-http_gzip_static_module
|
--with-http_gzip_static_module \
|
||||||
|
${EXTRA_OECONF}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
|
|||||||
Reference in New Issue
Block a user