lua: make sure that CFLAGS are passed
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 Aug 2010 06:01:55 +0000 (08:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 24 Aug 2010 13:05:19 +0000 (15:05 +0200)
commit8305f6ffbc391b25a24b25257089c1e0c99bd9aa
tree72cbbeb560d62899ebd323ab3e5a9df2a76a86b6
parente6c4ce6cef9f260226081f043b4f03dd4b0ad949
lua: make sure that CFLAGS are passed

We were passing a custom MYCFLAGS value to Lua's Makefile, but because
of $(TARGET_CONFIGURE_OPTS), we were also passing a CFLAGS variable,
which was overriding Lua's internal CFLAGS variable. The result was
that MYCFLAGS wasn't taken into account.

Extracted from the patch proposed by François Perrad in bug #2353.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lua/lua.mk