Re: [BUG] Makefile:307: *** only one `else' per conditional. Stop.

  • From: Florian Weimer <fw@xxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 13 Mar 2014 13:18:20 +0100

* Mike Pall:

> Please do not modify compiler options, which have been carefully
> set up in the Makefiles. And please do not pass arbitrary CFLAGS,
> especially anything related to stack-protector or fortify.
> Otherwise you'll break the resulting binary in subtle ways.

How so?  GCC's stack protector is well within the ABI limits, and the
behavior changes due to _FORTIFY_SOURCE are either technically
undetectable or do not affect LuaJIT (%n in format strings).

(If there are any incompatibilities with LuaJIT, we probably should
them fix on the toolchain side.)

Other related posts: