summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/dl-osinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/dl-osinfo.h b/libc/sysdeps/linux/common/dl-osinfo.h
index ee3e2ce99..4976b2b46 100644
--- a/libc/sysdeps/linux/common/dl-osinfo.h
+++ b/libc/sysdeps/linux/common/dl-osinfo.h
@@ -24,6 +24,9 @@
#define GETTIMEOFDAY gettimeofday
#endif
#else
+#ifdef __SSP__
+#error "file must not be compiled with stack protection enabled on it. Use -fno-stack-protector"
+#endif
#ifndef __SSP_QUICK_CANARY__
#define OPEN _dl_open
#define READ _dl_read