forked from pool/lua-luasql
20 lines
630 B
Diff
20 lines
630 B
Diff
|
---
|
||
|
config | 7 +++----
|
||
|
1 file changed, 3 insertions(+), 4 deletions(-)
|
||
|
|
||
|
--- a/config
|
||
|
+++ b/config
|
||
|
@@ -46,9 +46,8 @@ DRIVER_LIBS_firebird ?= -L/usr/local/fir
|
||
|
DRIVER_INCS_firebird ?=
|
||
|
|
||
|
# general compilation parameters
|
||
|
-WARN = -Wall -Wmissing-prototypes -Wmissing-declarations -pedantic
|
||
|
+WARN= -fPIC $(OPTFLAGS) -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic
|
||
|
INCS = -I$(LUA_INC)
|
||
|
-DEFS =
|
||
|
-CFLAGS = -O2 -std=gnu99 $(WARN) -fPIC $(DRIVER_INCS) $(INCS) \
|
||
|
- -DLUASQL_VERSION_NUMBER='"$V"' $(DEFS)
|
||
|
+DEFS = -std=gnu99 -fPIC
|
||
|
+CFLAGS=$(WARN) $(DRIVER_INCS) $(INCS) -DLUASQL_VERSION_NUMBER='"$V"' $(DEFS)
|
||
|
CC= gcc
|