-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Roman Stratiienko <[email protected]>
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
patches-aosp/external/lzma/0001-Remove-Android.bp-march-hacks.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
From 2cf2a6c076670aa5a6846109706fc309f2ffc91f Mon Sep 17 00:00:00 2001 | ||
From: Elliott Hughes <[email protected]> | ||
Date: Thu, 5 Sep 2024 15:52:58 +0000 | ||
Subject: [PATCH] Remove Android.bp -march hacks. | ||
|
||
It looks like clang changed so that the __attribute__((__target__())) | ||
stuff is working again, and that's a lot safer than hard-coding -march. | ||
In particular, it turns out that we're still shipping ART mainline | ||
module updates to armv7 devices... | ||
|
||
Bug: http://b/364822746 | ||
Test: objdump | ||
Change-Id: If409deff5d08559a7466b6ebcd0aa95ea63a1665 | ||
--- | ||
Android.bp | 9 --------- | ||
1 file changed, 9 deletions(-) | ||
|
||
diff --git a/Android.bp b/Android.bp | ||
index 752a8f9..828650c 100644 | ||
--- a/Android.bp | ||
+++ b/Android.bp | ||
@@ -81,15 +81,6 @@ cc_library { | ||
"C/XzIn.c", | ||
], | ||
|
||
- arch: { | ||
- arm: { | ||
- cflags: ["-march=armv8-a+crypto"], | ||
- }, | ||
- arm64: { | ||
- cflags: ["-march=armv8-a+crypto"], | ||
- }, | ||
- }, | ||
- | ||
target: { | ||
linux_bionic: { | ||
enabled: true, | ||
-- | ||
2.43.0 | ||
|