summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index 4b88c8d9b..69385ca5b 100644
--- a/config.lib
+++ b/config.lib
@@ -882,7 +882,7 @@ make_cflags_and_ldflags() {
# Each debug level reduces the optimalization by a bit
if [ $enable_debug -ge 1 ]; then
- CFLAGS="$CFLAGS -g -D_DEBUG"
+ CFLAGS="$CFLAGS -g -D_DEBUG -D_FORTIFY_SOURCE=2"
if [ "$os" = "PSP" ]; then
CFLAGS="$CFLAGS -G0"
fi