forked from pool/lua-luasql
- Added read-only mode to SQLite3 and two new methods to MySQL fetch. - This release also added the library opening functions to luasql.h in order to ease the initialization process in C applications. - Added seek method to MySQL driver and bug-fix on ODBC driver number retrieval. - Clean up luasql-fix-configuration.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasql?expand=0&rev=9
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
|