From patchwork Wed Sep 25 23:39:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 34671 Received: (qmail 57584 invoked by alias); 25 Sep 2019 23:39:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 57562 invoked by uid 89); 25 Sep 2019 23:39:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: mail-pf1-f181.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=644jmXSqwLDehfRbuZncRDbJDXL/pTzVn2mWTRO6w+g=; b=awt6LRrY81HlOHZ6DEvb14nA5V6wzmziTgc4WdNuLZQrGUxC41Y0NmQKlKdzGVIkhP rlIn1axAdHkZIbrGm/eTes9Wh3LmDI4Ybcv/F8G1IrmqTtBk4KuJm3d351+xxy32qvHY bPi4j0Of1wTnLsks7itKR4sjtbHoi+xYDHW5FitB8aX/sRcY6aRyaZN0692g9es0kY9p JAxKJT0QYSfKtDXR77Tt3OsyM7+83nI70CkCyxmkGY4GwAIeC+/xRbMP+EDgNNugnwuY QhDP05VGrTP9UIYg1NEE+YPElctqOpfeFX7+TaLwtxFdtiTgLkG7vqvxvUKdFkt9bB39 QFKw== Return-Path: From: adhemerval.zanella@linaro.org To: libc-alpha@sourceware.org Cc: Adhemerval Zanella Subject: [COMMITTED] Set the expects flags to clock_nanosleep Date: Wed, 25 Sep 2019 16:39:16 -0700 Message-Id: <20190925233916.1028-2-adhemerval.zanella@linaro.org> In-Reply-To: <20190925233916.1028-1-adhemerval.zanella@linaro.org> References: <20190925233916.1028-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 From: Adhemerval Zanella 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 | 3 +++ rt/Makefile | 1 - time/Makefile | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ce630e0159..01a567d7b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2019-09-25 Adhemerval Zanella + * 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 2bc4160882..6c8365e0c0 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 bf87f6f84a..b9217992a6 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