diff options
author | Syrone Wong <wong.syrone@gmail.com> | 2016-07-13 21:57:05 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-15 14:17:58 +0200 |
commit | 445604a915e8ed4669b3ef3c622259c7ca0081c1 (patch) | |
tree | 43d7878a49fc1b6579081828f0b94d2affd6ffe4 /toolchain/gcc/patches/6.1.0/002-case_insensitive.patch | |
parent | a4e90e2cac9d0afb41842b8a197b3acee903b9ad (diff) | |
download | upstream-445604a915e8ed4669b3ef3c622259c7ca0081c1.tar.gz upstream-445604a915e8ed4669b3ef3c622259c7ca0081c1.tar.bz2 upstream-445604a915e8ed4669b3ef3c622259c7ca0081c1.zip |
toolchain/gcc: add 6.1.0
-fno-plt and musl-libc patches already get upstream, then dropped
in GCC 6. Other patches are almost identical compared to GCC 5.4.
Compile and run tested on ar71xx/Qihoo C301 and
mvebu/Linksys WRT1900ac v1
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
Diffstat (limited to 'toolchain/gcc/patches/6.1.0/002-case_insensitive.patch')
-rw-r--r-- | toolchain/gcc/patches/6.1.0/002-case_insensitive.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/6.1.0/002-case_insensitive.patch b/toolchain/gcc/patches/6.1.0/002-case_insensitive.patch new file mode 100644 index 0000000000..b3d2dbe291 --- /dev/null +++ b/toolchain/gcc/patches/6.1.0/002-case_insensitive.patch @@ -0,0 +1,14 @@ +--- a/include/filenames.h ++++ b/include/filenames.h +@@ -43,11 +43,6 @@ extern "C" { + # define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c) + # define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f) + #else /* not DOSish */ +-# if defined(__APPLE__) +-# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM +-# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1 +-# endif +-# endif /* __APPLE__ */ + # define HAS_DRIVE_SPEC(f) (0) + # define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c) + # define IS_ABSOLUTE_PATH(f) IS_UNIX_ABSOLUTE_PATH (f) |