2017-07-14 09:12:55 +00:00
|
|
|
diff --git a/src/makefile b/src/makefile
|
|
|
|
index 494baab..fb56ba4 100644
|
|
|
|
--- a/src/makefile
|
|
|
|
+++ b/src/makefile
|
2022-08-20 18:18:34 +00:00
|
|
|
@@ -177,6 +177,6 @@ DEF_linux=-DLUASOCKET_$(DEBUG) \
|
|
|
|
-CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \
|
|
|
|
- -Wimplicit -O2 -ggdb3 -fpic
|
|
|
|
-LDFLAGS_linux=-O -shared -fpic -o
|
|
|
|
+CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) $(OPTFLAGS) -Wall -Wshadow -Wextra \
|
2017-07-14 09:12:55 +00:00
|
|
|
+ -Wimplicit -fpic -fvisibility=hidden
|
|
|
|
+LDFLAGS_linux=-O $(OPTFLAGS) -shared -fpic -o
|
2017-07-14 08:36:43 +00:00
|
|
|
LD_linux=gcc
|
|
|
|
SOCKET_linux=usocket.o
|
|
|
|
|