summaryrefslogtreecommitdiffhomepage
path: root/vars/nginx.vars
blob: 154c73b4afe44c2f178f32bf1ce70465c465dade (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";
	build_fileop 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