aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorDiego Nehab <diego@impa.br>2015-02-18 20:51:37 -0200
committerDiego Nehab <diego@impa.br>2015-02-18 20:51:37 -0200
commitddf429282460323e24652e6beec8e750f8e4a958 (patch)
tree071ee7879bbd4c917c92e5383c759e98a90cf78e /src/makefile
parent5edf093643cceb329392aec9606ab3988579b821 (diff)
downloadluasocket-ddf429282460323e24652e6beec8e750f8e4a958.tar.gz
luasocket-ddf429282460323e24652e6beec8e750f8e4a958.tar.bz2
luasocket-ddf429282460323e24652e6beec8e750f8e4a958.zip
Out of the box support for Lua 5.3.
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/makefile b/src/makefile
index 8d3521e..7f118a7 100644
--- a/src/makefile
+++ b/src/makefile
@@ -147,7 +147,7 @@ DEF_macosx= -DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN -DLUA_$(COMPAT)_MODULE \
147 -DLUASOCKET_API='__attribute__((visibility("default")))' \ 147 -DLUASOCKET_API='__attribute__((visibility("default")))' \
148 -DUNIX_API='__attribute__((visibility("default")))' \ 148 -DUNIX_API='__attribute__((visibility("default")))' \
149 -DMIME_API='__attribute__((visibility("default")))' 149 -DMIME_API='__attribute__((visibility("default")))'
150CFLAGS_macosx= -I$(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common \ 150CFLAGS_macosx= -I$(LUAINC) $(DEF) -Wall -O2 -fno-common \
151 -fvisibility=hidden 151 -fvisibility=hidden
152LDFLAGS_macosx= -bundle -undefined dynamic_lookup -o 152LDFLAGS_macosx= -bundle -undefined dynamic_lookup -o
153LD_macosx= export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc 153LD_macosx= export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
@@ -163,7 +163,7 @@ DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \
163 -DLUASOCKET_API='__attribute__((visibility("default")))' \ 163 -DLUASOCKET_API='__attribute__((visibility("default")))' \
164 -DUNIX_API='__attribute__((visibility("default")))' \ 164 -DUNIX_API='__attribute__((visibility("default")))' \
165 -DMIME_API='__attribute__((visibility("default")))' 165 -DMIME_API='__attribute__((visibility("default")))'
166CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \ 166CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
167 -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden 167 -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
168LDFLAGS_linux=-O -shared -fpic -o 168LDFLAGS_linux=-O -shared -fpic -o
169LD_linux=gcc 169LD_linux=gcc
@@ -179,7 +179,7 @@ DEF_freebsd=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \
179 -DLUASOCKET_API='__attribute__((visibility("default")))' \ 179 -DLUASOCKET_API='__attribute__((visibility("default")))' \
180 -DUNIX_API='__attribute__((visibility("default")))' \ 180 -DUNIX_API='__attribute__((visibility("default")))' \
181 -DMIME_API='__attribute__((visibility("default")))' 181 -DMIME_API='__attribute__((visibility("default")))'
182CFLAGS_freebsd= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \ 182CFLAGS_freebsd= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
183 -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden 183 -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
184LDFLAGS_freebsd=-O -shared -fpic -o 184LDFLAGS_freebsd=-O -shared -fpic -o
185LD_freebsd=gcc 185LD_freebsd=gcc
@@ -194,7 +194,7 @@ CC_mingw=gcc
194DEF_mingw= -DLUASOCKET_INET_PTON -DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \ 194DEF_mingw= -DLUASOCKET_INET_PTON -DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \
195 -DWINVER=0x0501 -DLUASOCKET_API='__declspec(dllexport)' \ 195 -DWINVER=0x0501 -DLUASOCKET_API='__declspec(dllexport)' \
196 -DMIME_API='__declspec(dllexport)' 196 -DMIME_API='__declspec(dllexport)'
197CFLAGS_mingw= -I$(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common \ 197CFLAGS_mingw= -I$(LUAINC) $(DEF) -Wall -O2 -fno-common \
198 -fvisibility=hidden 198 -fvisibility=hidden
199LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o 199LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o
200LD_mingw=gcc 200LD_mingw=gcc