Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcc6 & gcc7: allow clang to use GCC header files
- Loading branch information
1 parent
7ae4d65
commit 4f0ad86
Showing
4 changed files
with
36 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- libstdc++-v3/config.h.in.orig 2016-12-12 10:44:08.000000000 -0700 | ||
+++ libstdc++-v3/config.h.in 2017-01-14 02:19:10.000000000 -0700 | ||
@@ -892,7 +892,9 @@ | ||
#undef _GLIBCXX_USE_FCHMODAT | ||
|
||
/* Define if __float128 is supported on this host. */ | ||
+#ifndef __clang__ | ||
#undef _GLIBCXX_USE_FLOAT128 | ||
+#endif | ||
|
||
/* Defined if gettimeofday is available. */ | ||
#undef _GLIBCXX_USE_GETTIMEOFDAY |
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,12 @@ | ||
--- libstdc++-v3/config.h.in.orig 2016-12-12 10:44:08.000000000 -0700 | ||
+++ libstdc++-v3/config.h.in 2017-01-14 02:19:10.000000000 -0700 | ||
@@ -913,7 +913,9 @@ | ||
#undef _GLIBCXX_USE_FCHMODAT | ||
|
||
/* Define if __float128 is supported on this host. */ | ||
+#ifndef __clang__ | ||
#undef _GLIBCXX_USE_FLOAT128 | ||
+#endif | ||
|
||
/* Defined if gettimeofday is available. */ | ||
#undef _GLIBCXX_USE_GETTIMEOFDAY |