From 1f3fa4df05a6a58654513089fc0374a450ac4e17 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 23 Jul 2010 10:38:44 -0700 Subject: [PATCH] Add -stack-check option to libspl See commit f16dec7e67fe86f3c3556a67865ee715a2964d70 for full details of this change. But in summary -fstack-check is being restricted in usage only to locations which must already have small stack frames. --- lib/libspl/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libspl/Makefile.am b/lib/libspl/Makefile.am index 8e0e8bd7d8..ee47ce9607 100644 --- a/lib/libspl/Makefile.am +++ b/lib/libspl/Makefile.am @@ -1,5 +1,7 @@ include $(top_srcdir)/config/Rules.am +AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN) + SUBDIRS = include $(TARGET_ASM_DIR) DIST_SUBDIRS = include asm-generic asm-i386 asm-x86_64