build: remove patch unnecessary on los-16.0
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
--- a/art/runtime/mem_map.cc 2026-09-17 09:32:04.741988772 +0200
|
||||
+++ b/art/runtime/mem_map.cc 2026-09-17 09:32:26.208150692 +0200
|
||||
@@ -393,6 +393,11 @@
|
||||
DCHECK(ContainedWithinExistingMap(expected_ptr, byte_count, error_msg))
|
||||
<< ((error_msg != nullptr) ? *error_msg : std::string());
|
||||
flags |= MAP_FIXED;
|
||||
+#if !defined(ART_TARGET)
|
||||
+ } else if (expected_ptr) {
|
||||
+#define MAP_FIXED_NOREPLACE 0x100000
|
||||
+ flags |= MAP_FIXED_NOREPLACE;
|
||||
+#endif
|
||||
} else {
|
||||
CHECK_EQ(0, flags & MAP_FIXED);
|
||||
// Don't bother checking for an overlapping region here. We'll
|
||||
@@ -45,14 +45,6 @@ do_build() {
|
||||
repo sync -c -j"$(nproc)"
|
||||
fi
|
||||
|
||||
rlte_print "Applying patches"
|
||||
|
||||
for p in "$ROOT"/*.patch; do
|
||||
[ -e "$p" ] || continue
|
||||
patch -p1 --forward --batch --dry-run < "$p" || continue
|
||||
patch -p1 --batch < "$p"
|
||||
done
|
||||
|
||||
export LC_ALL=C LANG=C USE_CCACHE=1 CCACHE_DIR="$ROOT/.ccache" \
|
||||
JACK_SERVER=false JACK_NO_SERVER=1 \
|
||||
JACK_REPOSITORY="$ROOT/.jack-repository" TOP="$PWD" \
|
||||
|
||||
Reference in New Issue
Block a user