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

  • From: Mike Pall <mike-1403@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 13 Mar 2014 10:44:51 +0100

Igor Gnatenko wrote:
> I'm Fedora luajit maintainer.
>
> I'm using following lines for build luajit, but now it's broken.

Well, this is due to a patched Makefile, which I've been warning
against for years:

  http://luajit.org/install.html#distro

Please do not patch the Makefiles under any circumstances. There's
no necessity to do so. 'make' variables can be overriden on the
command line, if necessary.

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.

--Mike

Other related posts: