diff options
author | Diego Nehab <diego@impa.br> | 2015-02-18 20:51:37 -0200 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2015-02-18 20:51:37 -0200 |
commit | ddf429282460323e24652e6beec8e750f8e4a958 (patch) | |
tree | 071ee7879bbd4c917c92e5383c759e98a90cf78e /src/makefile | |
parent | 5edf093643cceb329392aec9606ab3988579b821 (diff) | |
download | luasocket-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/makefile | 8 |
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")))' |
150 | CFLAGS_macosx= -I$(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common \ | 150 | CFLAGS_macosx= -I$(LUAINC) $(DEF) -Wall -O2 -fno-common \ |
151 | -fvisibility=hidden | 151 | -fvisibility=hidden |
152 | LDFLAGS_macosx= -bundle -undefined dynamic_lookup -o | 152 | LDFLAGS_macosx= -bundle -undefined dynamic_lookup -o |
153 | LD_macosx= export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | 153 | LD_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")))' |
166 | CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \ | 166 | CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \ |
167 | -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden | 167 | -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden |
168 | LDFLAGS_linux=-O -shared -fpic -o | 168 | LDFLAGS_linux=-O -shared -fpic -o |
169 | LD_linux=gcc | 169 | LD_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")))' |
182 | CFLAGS_freebsd= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \ | 182 | CFLAGS_freebsd= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \ |
183 | -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden | 183 | -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden |
184 | LDFLAGS_freebsd=-O -shared -fpic -o | 184 | LDFLAGS_freebsd=-O -shared -fpic -o |
185 | LD_freebsd=gcc | 185 | LD_freebsd=gcc |
@@ -194,7 +194,7 @@ CC_mingw=gcc | |||
194 | DEF_mingw= -DLUASOCKET_INET_PTON -DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \ | 194 | DEF_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)' |
197 | CFLAGS_mingw= -I$(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common \ | 197 | CFLAGS_mingw= -I$(LUAINC) $(DEF) -Wall -O2 -fno-common \ |
198 | -fvisibility=hidden | 198 | -fvisibility=hidden |
199 | LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o | 199 | LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o |
200 | LD_mingw=gcc | 200 | LD_mingw=gcc |