-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48931 from obsidiansystems/darwin-to-linux-18.09
misc pkgs: Darwin -> Linux cross compilation for 18.09
- Loading branch information
Showing
5 changed files
with
89 additions
and
12 deletions.
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
16 changes: 16 additions & 0 deletions
16
pkgs/os-specific/linux/kernel-headers/no-dynamic-cc-version-check.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,16 @@ | ||
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include | ||
index 065324a8046f..d09c67194549 100644 | ||
--- a/scripts/Kbuild.include | ||
+++ b/scripts/Kbuild.include | ||
@@ -216,11 +216,8 @@ cc-disable-warning = $(call try-run-cached,\ | ||
cc-name = $(call shell-cached,$(CC) -v 2>&1 | grep -q "clang version" && echo clang || echo gcc) | ||
|
||
# cc-version | ||
-cc-version = $(call shell-cached,$(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC)) | ||
|
||
# cc-fullversion | ||
-cc-fullversion = $(call shell-cached,$(CONFIG_SHELL) \ | ||
- $(srctree)/scripts/gcc-version.sh -p $(CC)) | ||
|
||
# cc-ifversion | ||
# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) |
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,13 @@ | ||
diff --git a/arch/x86/Makefile b/arch/x86/Makefile | ||
index fad55160dcb9..a48c8331cbb2 100644 | ||
--- a/arch/x86/Makefile | ||
+++ b/arch/x86/Makefile | ||
@@ -239,7 +239,7 @@ ifdef CONFIG_RETPOLINE | ||
endif | ||
|
||
archscripts: scripts_basic | ||
- $(Q)$(MAKE) $(build)=arch/x86/tools relocs | ||
+ $(Q)$(MAKE) $(build)=arch/x86/tools | ||
|
||
### | ||
# Syscall table generation |
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