nginx build ./configure options

Vinay Y S vinay.ys at
Sun Mar 21 22:21:28 MSK 2010

I want to get a highly optimized and hardened build of nginx using gcc for
running on Linux 2.6 kernel. What are the compile time options recommended
for this purpose?
Specifically what --with-cc-opt, ld-opt etc should I pass? -O3,
FORTIFY_SOURCE, -fpie, -pie etc?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list