pmaports/device/testing/linux-oneplus-instantnoodlep/0001-comment-out-mgeneral-regs-only-flag.patch

26 lines
733 B
Diff
Raw Normal View History

From 8d16211d0db4c4edf07c7d207c1df962e691cc66 Mon Sep 17 00:00:00 2001
From: Pangwalla <pangwalla@protonmail.com>
Date: Wed, 1 Mar 2023 19:21:38 -0500
Subject: [PATCH] comment out mgeneral-regs-only flag
---
arch/arm64/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 7082e8cf3ac8..b4533ab57eb3 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -52,7 +52,7 @@ endif
ifeq ($(cc-name),clang)
KBUILD_CFLAGS += -mno-implicit-float
else
-KBUILD_CFLAGS += -mgeneral-regs-only
+#KBUILD_CFLAGS += -mgeneral-regs-only
endif
KBUILD_CFLAGS += $(lseinstr) $(brokengasinst) $(compat_vdso)
KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
--
2.39.2