diff options
Diffstat (limited to 'tools/cpp-define-generator/Android.bp')
| -rw-r--r-- | tools/cpp-define-generator/Android.bp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/cpp-define-generator/Android.bp b/tools/cpp-define-generator/Android.bp index babcfa43fe..44097bcdd0 100644 --- a/tools/cpp-define-generator/Android.bp +++ b/tools/cpp-define-generator/Android.bp @@ -35,8 +35,12 @@ cc_object { "libart_headers", "libdexfile_all_headers", // For dex/modifiers.h ], - // Produce text file rather than binary. - cflags: ["-S"], + cflags: [ + // Produce text file rather than binary. + "-S", + // Suppress an error about the unused -c that precedes -S. + "-Wno-unused-command-line-argument", + ], srcs: ["asm_defines.cc"], apex_available: [ "com.android.art", |