aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2007-06-12 00:06:29 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2007-06-12 00:06:29 +0000
commite381bde1ea74552c227e33dbb0c73a2fade897f6 (patch)
treef4853361e8f88f8c38c605082e7ebc634c1583d5 /config
parentc893c7abfb8edbb5124909ac25e36cf089419dd2 (diff)
downloadluasocket-e381bde1ea74552c227e33dbb0c73a2fade897f6.tar.gz
luasocket-e381bde1ea74552c227e33dbb0c73a2fade897f6.tar.bz2
luasocket-e381bde1ea74552c227e33dbb0c73a2fade897f6.zip
Modified and tested on Linux.
Diffstat (limited to 'config')
-rw-r--r--config22
1 files changed, 11 insertions, 11 deletions
diff --git a/config b/config
index 6fd1646..49958eb 100644
--- a/config
+++ b/config
@@ -17,7 +17,7 @@ UNIX_SO=unix.$(EXT)
17# 17#
18#LUAINC=-I/usr/local/include/lua50 18#LUAINC=-I/usr/local/include/lua50
19#LUAINC=-I/usr/local/include/lua5.1 19#LUAINC=-I/usr/local/include/lua5.1
20LUAINC=-Ilua-5.1.1/src 20#LUAINC=-Ilua-5.1.1/src
21 21
22#------ 22#------
23# Compat-5.1 directory 23# Compat-5.1 directory
@@ -40,20 +40,20 @@ INSTALL_EXEC=cp
40# Compiler and linker settings 40# Compiler and linker settings
41# for Mac OS X 41# for Mac OS X
42# 42#
43CC=gcc 43#CC=gcc
44DEF= -DAAA -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN 44#DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
45CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common 45#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
46LDFLAGS=-bundle -undefined dynamic_lookup 46#LDFLAGS=-bundle -undefined dynamic_lookup
47LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc 47#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
48 48
49#------ 49#------
50# Compiler and linker settings 50# Compiler and linker settings
51# for Linux 51# for Linux
52#CC=gcc 52CC=gcc
53#DEF=-DLUASOCKET_DEBUG 53DEF=-DLUASOCKET_DEBUG
54#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic 54CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
55#LDFLAGS=-O -shared -fpic 55LDFLAGS=-O -shared -fpic
56#LD=gcc 56LD=gcc
57 57
58#------ 58#------
59# End of makefile configuration 59# End of makefile configuration