diff options
author | Yi Chou <yich@google.com> | 2023-04-24 11:14:14 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-25 01:48:52 +0000 |
commit | 445a8f6dd44e1ea4399a63aaa70dfcdab92b60b9 (patch) | |
tree | 60945c37427a04acd87a5738d82b57d22901b0c3 | |
parent | 0c7848ad95b4fdebda70365a74da76032466ab1f (diff) | |
download | chrome-ec-445a8f6dd44e1ea4399a63aaa70dfcdab92b60b9.tar.gz |
boringssl: Fix the fuzzer build issue
We should support both x86_64 compiler:
x86_64-pc-linux-gnu-
x86_64-cros-linux-gnu-
BUG=b:279174496, b:248508087
TEST=build chromeos-ec on amd64-generic-fuzzer
Force-Relevant-Builds: all
Change-Id: I7f04d40453dec0be90b2b4436945d56cd66d2344
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4464658
Tested-by: Yi Chou <yich@google.com>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Commit-Queue: Yi Chou <yich@google.com>
-rw-r--r-- | third_party/rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/rules.mk b/third_party/rules.mk index 4a452d751b..065b8862d4 100644 --- a/third_party/rules.mk +++ b/third_party/rules.mk @@ -35,7 +35,7 @@ ifeq ($(CROSS_COMPILE), armv7m-cros-eabi-) CMAKE_SYSTEM_PROCESSOR ?= armv7 # TODO(b/275450331): Enable the asm after we fix the crash. OPENSSL_NO_ASM ?= 1 -else ifeq ($(CROSS_COMPILE), x86_64-pc-linux-gnu-) +else ifneq (,$(findstring x86_64, $(CROSS_COMPILE))) CMAKE_SYSTEM_PROCESSOR ?= x86_64 OPENSSL_NO_ASM ?= 0 else |