about summary refs log tree commit diff
path: root/socket/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'socket/Makefile')
-rw-r--r--socket/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/socket/Makefile b/socket/Makefile
index d9b0b4af64..08f20118cd 100644
--- a/socket/Makefile
+++ b/socket/Makefile
@@ -60,6 +60,12 @@ routines := \
   socketpair \
   # routines
 
+# Exclude fortified routines from being built with _FORTIFY_SOURCE
+routines_no_fortify += \
+  recv \
+  recvfrom \
+  # routines_no_fortify
+
 tests := \
   tst-accept4 \
   tst-cmsg_cloexec \