]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Set the expects flags to clock_nanosleep
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 25 Sep 2019 22:10:00 +0000 (22:10 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 25 Sep 2019 23:28:45 +0000 (16:28 -0700)
It moves the missing CFLAGS from rt/Makefile to time/Makefile missing
from 7b5af2d8f2a2b (Finish move of clock_* functions to libc. [BZ #24959]).

Checked on powerpc64le-linux-gnu.

* rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
* time/Makefile (CFLAGS-clock_nanosleep.c): ... here.

ChangeLog
rt/Makefile
time/Makefile

index ce630e01599b7dcd78bae3a2026d44c23501ea59..01a567d7b54cc34c0da127501e88d9800b458b49 100644 (file)
--- 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.
index 2bc4160882a90816d92b6fcfccee176ff60f78e0..6c8365e0c04fccd5d0be5845f97cbf5ea9da4de1 100644 (file)
@@ -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
index bf87f6f84a882f712375d66cc5fc868a548dd12b..b9217992a60ce3447112e85a56ad1ee563d7dab1 100644 (file)
@@ -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