forked from libos-nuse/frankenlibc
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix undefined reference to __getauxval
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
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
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,14 @@ | ||
Submodule linux contains modified content | ||
diff --git a/linux/arch/lkl/Makefile b/linux/arch/lkl/Makefile | ||
index 5236ac6cf5e1..dabd02ee2b44 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) | ||
+else 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) |