summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index c690e7ec2..c94d531e8 100644
--- a/include/features.h
+++ b/include/features.h
@@ -292,6 +292,8 @@
# define __USE_REENTRANT 1
#endif
+/* uClibc does not support _FORTIFY_SOURCE */
+#undef _FORTIFY_SOURCE
#if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 \
&& __GNUC_PREREQ (4, 1) && defined __OPTIMIZE__ && __OPTIMIZE__ > 0
# if _FORTIFY_SOURCE > 1