summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2023-05-11 19:36:25 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-05-11 19:36:25 +0000
commit4dd862cffa493dc0edca59a66adc98d0df679d87 (patch)
treee178dbb0ad44659058dfe9a5370f035187b6b781
parent6627e6eaef8ae67557f91d7db9628f126f12f594 (diff)
parente99a70b1901d009f0e8ef8581781b2ccdffcd72d (diff)
downloadmksh-4dd862cffa493dc0edca59a66adc98d0df679d87.tar.gz
mksh: fix ulimit. am: 55d30846c5 am: e99a70b190
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/mksh/+/23169034 Change-Id: I880e8e8c240e83866321afb35235f39d305068ab Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp11
1 files changed, 7 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index a300947..ca930d0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -59,11 +59,11 @@ cc_defaults {
"-DMKSH_DONT_EMIT_IDSTRING",
"-DKSH_VERSIONNAME_VENDOR_EXT=\" Android\"",
- // ...and the defines from Build.sh.
+ // ...and the defines from src/Rebuild.sh after running src/Build.sh.
"-DMKSH_BUILDSH",
"-D_GNU_SOURCE",
"-DSETUID_CAN_FAIL_WITH_EAGAIN",
- "-DHAVE_STRING_POOLING=1",
+ "-DHAVE_STRING_POOLING=2",
"-DHAVE_ATTRIBUTE_BOUNDED=1",
"-DHAVE_ATTRIBUTE_FORMAT=1",
"-DHAVE_ATTRIBUTE_NORETURN=1",
@@ -96,13 +96,14 @@ cc_defaults {
"-DHAVE_CAN_UCBINTS=1",
"-DHAVE_CAN_INT8TYPE=1",
"-DHAVE_CAN_UCBINT8=1",
- "-DHAVE_RLIM_T=1",
"-DHAVE_SIG_T=1",
"-DHAVE_SYS_ERRLIST=0",
"-DHAVE_SYS_SIGNAME=1",
"-DHAVE_SYS_SIGLIST=1",
"-DHAVE_FLOCK=1",
"-DHAVE_LOCK_FCNTL=1",
+ "-DHAVE_RLIMIT=1",
+ "-DHAVE_RLIM_T=1",
"-DHAVE_GETRUSAGE=1",
"-DHAVE_GETSID=1",
"-DHAVE_GETTIMEOFDAY=1",
@@ -119,12 +120,14 @@ cc_defaults {
"-DHAVE_SETRESUGID=1",
"-DHAVE_SETGROUPS=1",
"-DHAVE_STRERROR=1",
- "-DHAVE_STRSIGNAL=0",
+ "-DHAVE_STRSIGNAL=1",
"-DHAVE_STRLCPY=1",
"-DHAVE_FLOCK_DECL=1",
"-DHAVE_REVOKE_DECL=1",
"-DHAVE_SYS_ERRLIST_DECL=0",
"-DHAVE_SYS_SIGLIST_DECL=1",
+ "-DHAVE_ST_MTIM=1",
+ "-DHAVE_ST_MTIMENSEC=0",
"-DHAVE_PERSISTENT_HISTORY=0",
"-DMKSH_BUILD_R=593",