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
|
|
|
|
@@ -169,9 +169,9 @@ DEF_linux=-DLUASOCKET_$(DEBUG) \
|
2017-07-14 08:36:43 +00:00
|
|
|
-DLUASOCKET_API='__attribute__((visibility("default")))' \
|
|
|
|
-DUNIX_API='__attribute__((visibility("default")))' \
|
|
|
|
-DMIME_API='__attribute__((visibility("default")))'
|
2017-07-14 09:12:55 +00:00
|
|
|
-CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
|
2017-07-14 08:36:43 +00:00
|
|
|
- -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
|
|
|
|
-LDFLAGS_linux=-O -shared -fpic -o
|
2017-07-14 09:12:55 +00:00
|
|
|
+CFLAGS_linux= -I$(LUAINC) $(DEF) $(OPTFLAGS) -Wall -Wshadow -Wextra \
|
|
|
|
+ -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
|
|
|
|
|