Details
- Import upstream patches for known runtime errors
and crashes in lua 5.3.4
Details, see https://www.lua.org/bugs.html
in the section on version 5.3.4
PR: 222581
Submitted by: russ.haley@gmail.com
Approved by: maintainer timeout
MFH: 2017Q4
The ?= assignment of CFLAGS (not present in earlier lua5x patches) results
in MYCFLAGS, passed from the port makefile, never getting assigned to CFLAGS
during the lua build. The result is a copy of lua that has none of the posix
support functions in it.
CFLAGS set in the outer environment by the user or make.conf get passed in
via the MYCFLAGS mechanism, so remove the -O2 and let the outer environment
control optimization level.
Approved by: mat(mentor)
Differential Revision: https://reviews.freebsd.org/D5256