aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config10
1 files changed, 9 insertions, 1 deletions
diff --git a/config b/config
index 55a9a63..8394af3 100644
--- a/config
+++ b/config
@@ -35,13 +35,21 @@ INSTALL_EXEC=cp
35 35
36#------ 36#------
37# Compiler and linker settings 37# Compiler and linker settings
38# for Mac OS X
38# 39#
39CC=gcc 40CC=gcc
40DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN 41DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
41CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 42CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
42LDFLAGS=-bundle -undefined dynamic_lookup 43LDFLAGS=-bundle -undefined dynamic_lookup
43LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc 44LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
44 45
46# for Linux
47#CC=gcc
48#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
49#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
50#LDFLAGS=-O -shared
51#LD=gcc
52
45#------ 53#------
46# End of makefile configuration 54# End of makefile configuration
47# 55#