aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-08-13 13:37:05 -0700
committerElliott Hughes <enh@google.com>2021-08-13 14:45:49 -0700
commitf7c095ad17455142a49399a6d490d6ac18c206e8 (patch)
tree72a8750b9f79e4a600c21a3af5125e194e6eabef /Android.bp
parenta79df4f165b3b1564f9c404224eda5ce9d0df992 (diff)
parent5e98c6229be8333de539697b38efa716fd42f7ee (diff)
downloadplatform_external_bc-master.tar.gz
platform_external_bc-master.tar.bz2
platform_external_bc-master.zip
(This lets us remove the macOS fortify workaround and the BC_ENABLE_LIBRARY workaround that were part of the 5.0.0 upgrade. I've also removed a couple of obsolete -D lines that were pointed out by the upstream maintainer when he helped with the 5.0.0 upgrade; he got 5.0.1 out quicker than I could clean those up separately!) Test: make Change-Id: I02ee4e41d62e9430386c1690e5200f356e5c21f1
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 0272c848..7d7afe24 100644
--- a/Android.bp
+++ b/Android.bp
@@ -24,10 +24,7 @@ cc_defaults {
"-DDC_ENABLED=0",
"-DBC_ENABLE_EXTRA_MATH=0",
"-DBC_ENABLE_HISTORY=0",
- "-DBC_ENABLE_LIBRARY=0",
- "-DBC_ENABLE_LONG_OPTIONS=1",
"-DBC_ENABLE_NLS=0",
- "-DBC_ENABLE_SIGNALS=1",
"-Os",
],
generated_headers: ["bc-version.h"],
@@ -39,12 +36,6 @@ cc_defaults {
":bc-lib.c",
],
stl: "none",
- target: {
- darwin: {
- // TODO: temporary workaround for https://github.com/gavinhoward/bc/issues/35
- cflags: ["-D_FORTIFY_SOURCE=0"],
- },
- },
}
genrule {