Skip to content

Commit acd0cc9

Browse files
committed
patches: fix broken PUC Rio Lua building
Broken by the commit 26755cad99cd ("Added "attribute internal" to __MACH__ platforms") [1]. 1. lua/lua@26755cad99cd
1 parent db2091f commit acd0cc9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

patches/puc-rio-lua.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/makefile b/makefile
2-
index b37fdb28..accb2822 100644
2+
index 8674519f..17dabfa8 100644
33
--- a/makefile
44
+++ b/makefile
5-
@@ -40,7 +40,7 @@ CWARNSC= -Wdeclaration-after-statement \
5+
@@ -39,7 +39,7 @@ CWARNSC= -Wdeclaration-after-statement \
66
-Wold-style-definition \
77

88

@@ -11,10 +11,10 @@ index b37fdb28..accb2822 100644
1111

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

0 commit comments

Comments
 (0)