diff options
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | sources.bp | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -28,6 +28,7 @@ cc_library_static { cc_test { name: "scrypt_test", srcs: ["tests/scrypt_test.cpp"], + cflags: ["-Wall", "-Werror"], shared_libs: ["libcrypto"], static_libs: ["libscrypt_static"], } @@ -25,6 +25,10 @@ cc_defaults { cflags: [ "-DHAVE_CONFIG_H", "-DUSE_OPENSSL_PBKDF2", + "-Wall", + "-Werror", + "-Wno-error=implicit-function-declaration", + "-Wno-error=unused-variable", ], export_include_dirs: [ |