blob: abc84684792063e4b4ebf2db9f3aced0198eaa19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# DP: Follow-up patch for PR go/104290 (Hurd)
--- a/src/gcc/config/gnu.h 2022-02-06 11:59:41.000000000 +0100
+++ b/src/gcc/config/gnu.h 2022-02-06 12:00:19.000000000 +0100
@@ -19,6 +19,9 @@
along with GCC. If not, see <http://www.gnu.org/licenses/>.
*/
+#define OPTION_GLIBC_P(opts) (DEFAULT_LIBC == LIBC_GLIBC)
+#define OPTION_GLIBC OPTION_GLIBC_P (&global_options)
+
#undef GNU_USER_TARGET_OS_CPP_BUILTINS
#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
do { \
|