diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-05-04 15:18:13 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-05-25 19:01:07 +0200 |
commit | 70c2c8ff3938d75425d544aac6a7e9966ae6a165 (patch) | |
tree | 2b277c86d79e1185990226a6b7d53978430069ab /toolchain/gcc/patches/7.1.0/002-case_insensitive.patch | |
parent | a0f4b4b3a2cd4db1a2b9bab3c06970361192368f (diff) | |
download | mtk-20170518-70c2c8ff3938d75425d544aac6a7e9966ae6a165.zip mtk-20170518-70c2c8ff3938d75425d544aac6a7e9966ae6a165.tar.gz mtk-20170518-70c2c8ff3938d75425d544aac6a7e9966ae6a165.tar.bz2 |
toolchain: add gcc 7.1.0 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc/patches/7.1.0/002-case_insensitive.patch')
-rw-r--r-- | toolchain/gcc/patches/7.1.0/002-case_insensitive.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/7.1.0/002-case_insensitive.patch b/toolchain/gcc/patches/7.1.0/002-case_insensitive.patch new file mode 100644 index 0000000..b3d2dbe --- /dev/null +++ b/toolchain/gcc/patches/7.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) |