Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/10
17 lines
479 B
Diff
17 lines
479 B
Diff
This requires linking to ssp on some systems, which might not always present.
|
|
If this is really desired:
|
|
* add `-lssp` to LDFLAGS, and
|
|
* add `-D_FORTIFY_SOURCE=2` to CPPFLAGS/CFLAGS
|
|
|
|
--- lib/config.hin
|
|
+++ lib/config.hin
|
|
@@ -96,7 +96,7 @@
|
|
/* Enable compile-time and run-time bounds-checking, and some warnings,
|
|
without upsetting newer glibc. */
|
|
#if defined __OPTIMIZE__ && __OPTIMIZE__
|
|
- # define _FORTIFY_SOURCE 2
|
|
+ //# define _FORTIFY_SOURCE 2
|
|
#endif
|
|
|
|
|