diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 | # |
39 | CC=gcc | 40 | CC=gcc |
40 | DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | 41 | DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN |
41 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 | 42 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common |
42 | LDFLAGS=-bundle -undefined dynamic_lookup | 43 | LDFLAGS=-bundle -undefined dynamic_lookup |
43 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | 44 | LD=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 | # |