This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove GCC_PREFIX entirely, do not apply my fix for it either. Remove .la files. They are considered harmful. Fix lib search path (it must never be lib64, CMake reads this). Disable /usr/local partly due to Homebrew, partly for reproducibility. gcc-4.8: The revisit
- Loading branch information
1 parent
03838ce
commit aa7a390
Showing
5 changed files
with
75 additions
and
78 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
gcc-4.8/0002-Disable-multiarch-like-suffixed-lib-dirs.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,12 @@ | ||
diff -urN gcc-4.8.5.orig/gcc/config/i386/t-linux64 gcc-4.8.5/gcc/config/i386/t-linux64 | ||
--- gcc-4.8.5.orig/gcc/config/i386/t-linux64 2016-10-25 10:46:50.688505276 +0100 | ||
+++ gcc-4.8.5/gcc/config/i386/t-linux64 2016-10-25 10:48:43.730955397 +0100 | ||
@@ -33,6 +33,6 @@ | ||
comma=, | ||
MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG)) | ||
MULTILIB_DIRNAMES = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS))) | ||
-MULTILIB_OSDIRNAMES = m64=../lib64$(call if_multiarch,:x86_64-linux-gnu) | ||
+MULTILIB_OSDIRNAMES = m64=../lib$(call if_multiarch,:x86_64-linux-gnu) | ||
MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:i386-linux-gnu) | ||
-MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32) | ||
+MULTILIB_OSDIRNAMES+= mx32=../lib$(call if_multiarch,:x86_64-linux-gnux32) |
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 -urN gcc-4.8.5.orig/gcc/cppdefault.c gcc-4.8.5/gcc/cppdefault.c | ||
--- gcc-4.8.5.orig/gcc/cppdefault.c 2016-10-25 10:46:42.848329208 +0100 | ||
+++ gcc-4.8.5/gcc/cppdefault.c 2016-10-25 11:08:08.809102425 +0100 | ||
@@ -35,6 +35,9 @@ | ||
# undef CROSS_INCLUDE_DIR | ||
#endif | ||
|
||
+/* This is mostly for macOS where Homebrew tends to live in /usr/local */ | ||
+#undef LOCAL_INCLUDE_DIR | ||
+ | ||
const struct default_include cpp_include_defaults[] | ||
#ifdef INCLUDE_DEFAULTS | ||
= INCLUDE_DEFAULTS; |
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
This file was deleted.
Oops, something went wrong.