about summary refs log tree commit diff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/rt/Makefile b/rt/Makefile
index 828bdc1f50..b99949240a 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -49,6 +49,9 @@ distribute := aio_misc.h
 
 include ../Rules
 
+CFLAGS-aio_suspend.c = -fexceptions
+CFLAGS-clock_nanosleep.c = -fexceptions -fasynchronous-unwind-tables
+
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 # This ensures they will load libc.so for needed symbols if loaded by
 # a statically-linked program that hasn't already loaded it.