<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello list<br><br>Are there recommended gcc parameters when building nginx from
source - regarding performance and security?<br>--with-cc-opt=parameters<br><br>I noticed that the prebuilt package on ubuntu used<br>--with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2'
--with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro'<br><br>Is this recommended?<br>What would make sense resp. be a best practice approach?<br><br>thx</body></html>