diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 16:21:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 16:21:19 +0000 |
commit | 3b7927d66fd116ad6cf1362efe2d626ef1fd43aa (patch) | |
tree | 0ab0721956187f4d77311a9afecb595dc156f7ad /libc/sysdeps | |
parent | 16f4df8b52de1df0f810e157d9711caa75115e28 (diff) |
Move __SSP__ check to header
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/dl-osinfo.h | 3 |
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 |