Browse Source

cut out _FORTIFY_SOURCE

Mike Frysinger 18 năm trước cách đây
mục cha
commit
c3a0c54d0b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      include/features.h

+ 2 - 0
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