diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2022-04-21 06:09:06 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-04-21 06:09:06 +0000 |
commit | 076405b337c28ca76ce77cd127afb2ef25cba1c0 (patch) | |
tree | 50f5d75a7e782604d8f6161e732de907703f3088 | |
parent | a43ceadde4f497a22b65f31a92cb069b9ebf5f8e (diff) | |
parent | b239211314f3080767e9175d20294b90eb7e3053 (diff) | |
download | ppp-076405b337c28ca76ce77cd127afb2ef25cba1c0.tar.gz |
Merge "Moved contents of clang_cflags into cflags"
-rw-r--r-- | pppd/Android.bp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pppd/Android.bp b/pppd/Android.bp index dfa36bd..43e5688 100644 --- a/pppd/Android.bp +++ b/pppd/Android.bp @@ -91,7 +91,7 @@ filegroup { "tty.c", "upap.c", "utils.c", - ] + ], } cc_library_static { @@ -99,14 +99,16 @@ cc_library_static { defaults: ["ppp_defaults"], srcs: [ - ":pppd-sources" + ":pppd-sources", + ], + export_include_dirs: [ + ".", + "include", ], - export_include_dirs:[".", "include"], // options.c:623:21: error: passing 'const char *' to parameter of // type 'char *' discards qualifiers. // [-Werror,-Wincompatible-pointer-types-discards-qualifiers] - clang_cflags: ["-Wno-incompatible-pointer-types-discards-qualifiers"], shared_libs: [ "libdl", @@ -120,6 +122,7 @@ cc_library_static { "-Wno-empty-body", "-Wno-attributes", "-Wno-sign-compare", + "-Wno-incompatible-pointer-types-discards-qualifiers", ], ldflags: ["-rdynamic"], @@ -134,7 +137,7 @@ cc_binary { defaults: ["ppp_defaults"], srcs: [ - ":pppd-sources" + ":pppd-sources", ], shared_libs: [ @@ -146,7 +149,7 @@ cc_binary { ldflags: ["-rdynamic"], - clang_cflags: ["-Wno-incompatible-pointer-types-discards-qualifiers"], + cflags: ["-Wno-incompatible-pointer-types-discards-qualifiers"], required: [ "pppol2tp-android", |