Bug#426905: gcc-4.2: FTBFS on hurd-i386: 'OPTION_GLIBC' undeclared
Package: gcc-4.2
Severity: important
Tags: patch
Hi,
gcc-4.2 FTBFS due to PR28102, see #374410.
I filed this seperately because gcc-4.2 now builds libgcc1 and fixing
this in Debian is a priority, we cannot wait till upstream agree on the
best fix.
The attached tested patch fixes this, please apply.
thanks,
Michael
http://gcc.gnu.org/bugzilla/attachment.cgi?id=11892
2006-07-15 Alfred M. Szmidt <ams@gnu.org>
* config/i386/gnu.h (TARGET_C99_FUNCTIONS): Undefine macro.
Index: gcc/config/i386/gnu.h
===================================================================
--- gcc/config/i386/gnu.h (revision 115472)
+++ gcc/config/i386/gnu.h (working copy)
@@ -36,3 +36,5 @@
/* FIXME: Is a Hurd-specific fallback mechanism necessary? */
#undef MD_UNWIND_SUPPORT
+
+#undef TARGET_C99_FUNCTIONS /* config.gcc includes i386/linux.h. */
Reply to: