diff options
| -rw-r--r-- | config | 20 |
1 files changed, 10 insertions, 10 deletions
| @@ -37,20 +37,20 @@ INSTALL_EXEC=cp | |||
| 37 | # Compiler and linker settings | 37 | # Compiler and linker settings |
| 38 | # for Mac OS X | 38 | # for Mac OS X |
| 39 | # | 39 | # |
| 40 | CC=gcc | 40 | #CC=gcc |
| 41 | DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | 41 | #DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN |
| 42 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common | 42 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common |
| 43 | LDFLAGS=-bundle -undefined dynamic_lookup | 43 | #LDFLAGS=-bundle -undefined dynamic_lookup |
| 44 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | 44 | #LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc |
| 45 | 45 | ||
| 46 | #------ | 46 | #------ |
| 47 | # Compiler and linker settings | 47 | # Compiler and linker settings |
| 48 | # for Linux | 48 | # for Linux |
| 49 | #CC=gcc | 49 | CC=gcc |
| 50 | #DEF=-DLUASOCKET_DEBUG | 50 | DEF=-DLUASOCKET_DEBUG |
| 51 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | 51 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic |
| 52 | #LDFLAGS=-O -shared | 52 | LDFLAGS=-O -shared -fpic |
| 53 | #LD=gcc | 53 | LD=gcc |
| 54 | 54 | ||
| 55 | #------ | 55 | #------ |
| 56 | # End of makefile configuration | 56 | # End of makefile configuration |
