Skip to content

Commit

Permalink
fixup __getauxval 6
Browse files Browse the repository at this point in the history
  • Loading branch information
thehajime committed Jul 10, 2024
1 parent 8262dea commit ae3c5d8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/aarch64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Submodule linux contains modified content
diff --git a/linux/arch/lkl/Makefile b/linux/arch/lkl/Makefile
index 5236ac6cf5e1..e91cad63b40f 100644
--- a/linux/arch/lkl/Makefile
+++ b/linux/arch/lkl/Makefile
@@ -8,6 +8,8 @@ KBUILD_CFLAGS += -fPIC
ifeq ($(OUTPUT_FORMAT),mach-o-x86-64)
# workaround for Mach-O section name
LINUXINCLUDE := -I $(srctree)/arch/lkl/include/mach $(LINUXINCLUDE)
+ifeq ($(OUTPUT_FORMAT),elf64-littleaarch64)
+KBUILD_CFLAGS += -mno-outline-atomics
endif
else ifneq (,$(filter $(OUTPUT_FORMAT),pe-i386 pe-x86-64 ))
ifneq ($(OUTPUT_FORMAT),pe-x86-64)

0 comments on commit ae3c5d8

Please sign in to comment.