Skip to content
Snippets Groups Projects
Unverified Commit 2758c9e0 authored by Ian Douglas Scott's avatar Ian Douglas Scott
Browse files

Build Lua without patch

parent edf6930c
No related branches found
No related tags found
1 merge request!4Recipe for Lua
diff -rupN lua/src/Makefile lua-redox/src/Makefile
--- lua/src/Makefile 2015-05-27 04:10:11.000000000 -0700
+++ lua-redox/src/Makefile 2016-07-27 18:08:54.167232304 -0700
@@ -4,9 +4,9 @@
# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
# Your platform. See PLATS for possible values.
-PLAT= none
+PLAT= posix
-CC= gcc -std=gnu99
+CC:= $(CC) -std=gnu99
CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)
...@@ -13,7 +13,7 @@ function recipe_update { ...@@ -13,7 +13,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
make generic make generic CC="$CC -std=gnu99"
return 1 return 1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment