aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--rt/Makefile1
-rw-r--r--time/Makefile1
3 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ce630e0..01a567d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+ * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
+ * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
+
* sysdeps/unix/sysv/linux/Makefile
(CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
CFLAGS-tst-sigcontext-get_pc.c.
diff --git a/rt/Makefile b/rt/Makefile
index 2bc4160..6c8365e 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -56,7 +56,6 @@ include ../Rules
CFLAGS-aio_suspend.c += -fexceptions
CFLAGS-mq_timedreceive.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-mq_timedsend.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-clock_nanosleep.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-librt-cancellation.c += -fasynchronous-unwind-tables
LDFLAGS-rt.so = -Wl,--enable-new-dtags,-z,nodelete
diff --git a/time/Makefile b/time/Makefile
index bf87f6f..b921799 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -70,6 +70,7 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
CFLAGS-tzfile.c += $(tz-cflags)
CFLAGS-tzset.c += $(tz-cflags)
CFLAGS-getdate.c += -fexceptions
+CFLAGS-clock_nanosleep.c += -fexceptions -fasynchronous-unwind-tables
# Don't warn about Y2k problem in strftime format string.
CFLAGS-test_time.c += -Wno-format