linamh/sys-libs/glibc/files/2.3.4/glibc-2.3.4-features-header-fix.patch
2009-09-12 08:46:08 +00:00

12 lines
449 B
Diff

--- include/features.h.orig 2004-11-04 15:42:23.777521424 -0500
+++ include/features.h 2004-11-04 15:43:16.734470744 -0500
@@ -262,7 +262,7 @@
# define __USE_REENTRANT 1
#endif
-#if _FORTIFY_SOURCE > 0 && __OPTIMIZE__ > 0 \
+#if (_FORTIFY_SOURCE > 0) && defined(__OPTIMIZE__) \
&& (__GNUC_PREREQ (4, 1) \
|| (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (4, 0)) \
|| (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (3, 4) \