sqlar: fix build error

Disable warnings to be treated as errors, since otherwise the build
would fail with this message:

```
sqlite3.c: In function 'sqlite3SelectNew':
sqlite3.c:116663:10: error: function may return address of local variable [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreturn-local-addr-Werror=return-local-addr8;;]
116663 |   return pNew;
```
This commit is contained in:
Daniel Nagy 2021-01-16 23:37:39 +01:00
parent e1545d42aa
commit 531e121e5b
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation {
buildInputs = [ fuse zlib ];
buildFlags = [ "sqlar" "sqlarfs" ];
buildFlags = [ "sqlar" "sqlarfs" "CFLAGS=-Wno-error" ];
installPhase = ''
install -D -t $out/bin sqlar sqlarfs