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:
parent
e1545d42aa
commit
531e121e5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user