about summary refs log tree commit diff
path: root/libio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/libio/Makefile b/libio/Makefile
index 360a6a621b..e41e78e36b 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -64,6 +64,13 @@ routines += clearerr_u feof_u ferror_u fputc_u getc_u getchar_u		      \
 CPPFLAGS += -D_IO_MTSAFE_IO
 endif
 
+# Support for exception handling.
+CFLAGS-genops.c = $(exceptions)
+CFLAGS-wgenops.c = $(exceptions)
+CFLAGS-fileops.c = $(exceptions)
+CFLAGS-wfileops.c = $(exceptions)
+# XXX Do we need filedoalloc and wfiledoalloc?  Others?
+
 CFLAGS-tst_putwc.c = -DOBJPFX=\"$(objpfx)\"
 
 tst_wprintf2-ARGS = "Some Text"