summaryrefslogtreecommitdiffhomepage
path: root/vars/nginx.vars
blob: e9db79828df94c44cece10c5b6459daf4150a4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# . ./build.vars and set -o errexit -o noglob are assumed.
#

pkg_nginx_configure() {
	export CFLAGS="${PKG_CFLAGS_CONFIGURE} -I${PKG_PREFIX}/include -pipe -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror";
	export LDFLAGS="${PKG_LDFLAGS_CONFIGURE} -L${PKG_PREFIX}/lib";
	insecure_mkdir objs/src objs/src/core objs/src/event objs/src/event/modules objs/src/http objs/src/http/modules objs/src/os/unix;
	set_build_script_done configure clean -build;
};

# vim:filetype=sh