Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions patches/puc-rio-lua.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/makefile b/makefile
index b37fdb28..accb2822 100644
index 8674519f..17dabfa8 100644
--- a/makefile
+++ b/makefile
@@ -40,7 +40,7 @@ CWARNSC= -Wdeclaration-after-statement \
@@ -39,7 +39,7 @@ CWARNSC= -Wdeclaration-after-statement \
-Wold-style-definition \


Expand All @@ -11,10 +11,10 @@ index b37fdb28..accb2822 100644

# Some useful compiler options for internal tests:
# -DLUAI_ASSERT turns on all assertions inside Lua.
@@ -72,11 +72,11 @@ LOCAL = $(TESTS) $(CWARNS)
# enable Linux goodies
@@ -73,11 +73,11 @@ LOCAL = $(TESTS) $(CWARNS)
# Note that Linux/Posix options are not compatible with C89
MYCFLAGS= $(LOCAL) -std=c99 -DLUA_USE_LINUX
MYLDFLAGS= $(LOCAL) -Wl,-E
MYLDFLAGS= -Wl,-E
-MYLIBS= -ldl
+MYLIBS= -ldl $(LDFLAGS)

Expand Down