Added "attribute internal" to __MACH__ platforms

Also, makefile does not add compiling options (LOCAL) to linker
flags (MYLDFLAGS).
This commit is contained in:
Roberto I
2025-10-18 10:30:12 -03:00
parent b352217b84
commit 26755cad99
2 changed files with 10 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ LOCAL = $(TESTS) $(CWARNS)
# For C89, "-std=c89 -DLUA_USE_C89"
# 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