From patchwork Mon Sep 2 14:20:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 19692 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F357D248D9 for ; Mon, 2 Sep 2013 14:20:31 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id f12sf5242167vbg.11 for ; Mon, 02 Sep 2013 07:20:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=cJdWDxc01m4S8lP0++sjN+oztJ7Y54hKZK7FLjK3I2c=; b=bTBImGuK9QBCH7W1DxgMbpRxEDZA+FxP0CAOCmjPI0ED7h6t6IznG0QGEjnzH9YQKW JLJtpN03kuBfZGQ6VaqvuoOsdSjDezxwOt/dl6Oerx19zkw5QLm3PnEVsJQzRvhXN0UC tdcSipfXoSMmDA0xv+3g50CXMS5VVsKDSuD5nOppAnPUjf0kmWrrf4WFKjPYOh77Xs14 qTUUWbIOmH/yyZmI9e1DsFtVe2e3fzD7p80TFCZf3hFyvMbR06TCGFPKWpnStBA1yYSy Tu4G8JaYquvHTpDL1VFwb1vvjii5anlw7Buw2r2ulbvkAOKcdXgT8QZ7JiCtx9+x/oeS pULg== X-Received: by 10.236.174.232 with SMTP id x68mr8492037yhl.42.1378131631755; Mon, 02 Sep 2013 07:20:31 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.16.103 with SMTP id f7ls2345924qed.77.gmail; Mon, 02 Sep 2013 07:20:31 -0700 (PDT) X-Received: by 10.52.230.102 with SMTP id sx6mr18913975vdc.15.1378131631632; Mon, 02 Sep 2013 07:20:31 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id xe6si3215134vdb.48.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Sep 2013 07:20:31 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id pb11so3216504veb.11 for ; Mon, 02 Sep 2013 07:20:31 -0700 (PDT) X-Gm-Message-State: ALoCoQniMFgZ02BFpe7BxmDWuYzjxlvtAW97L/jBsVnNCDK/CxvPvWp+eHk8RoV6aFoM3t7OLgqb X-Received: by 10.58.19.162 with SMTP id g2mr23647224vee.12.1378131631547; Mon, 02 Sep 2013 07:20:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp117863vcz; Mon, 2 Sep 2013 07:20:31 -0700 (PDT) X-Received: by 10.204.69.12 with SMTP id x12mr17468641bki.14.1378131630596; Mon, 02 Sep 2013 07:20:30 -0700 (PDT) Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) by mx.google.com with ESMTPS id uf10si1266279bkb.239.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Sep 2013 07:20:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.214.51 is neither permitted nor denied by best guess record for domain of will.newton@linaro.org) client-ip=209.85.214.51; Received: by mail-bk0-f51.google.com with SMTP id mx10so1603156bkb.24 for ; Mon, 02 Sep 2013 07:20:29 -0700 (PDT) X-Received: by 10.204.121.201 with SMTP id i9mr17664675bkr.13.1378131629759; Mon, 02 Sep 2013 07:20:29 -0700 (PDT) Received: from localhost.localdomain (cpc6-seac21-2-0-cust453.7-2.cable.virginmedia.com. [82.1.113.198]) by mx.google.com with ESMTPSA id pw1sm1727266bkb.8.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 02 Sep 2013 07:20:28 -0700 (PDT) Message-ID: <52249EAA.80209@linaro.org> Date: Mon, 02 Sep 2013 15:20:26 +0100 From: Will Newton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: libc-alpha@sourceware.org CC: patches@linaro.org Subject: [PATCH] benchtests/Makefile: Use LDLIBS instead of LDFLAGS. X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , LDFLAGS puts the library too early in the command line if --as-needed is being used. Use LDLIBS instead. ChangeLog: 2013-09-02 Will Newton * benchtests/Makefile: Use LDLIBS instead of LDFLAGS. --- benchtests/Makefile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/benchtests/Makefile b/benchtests/Makefile index ba313d2..4d4b909 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -36,67 +36,67 @@ benchset := $(string-bench-all) acos-ARGLIST = double acos-RET = double -LDFLAGS-bench-acos = -lm +LDLIBS-bench-acos = -lm acosh-ARGLIST = double acosh-RET = double -LDFLAGS-bench-acosh = -lm +LDLIBS-bench-acosh = -lm asin-ARGLIST = double asin-RET = double -LDFLAGS-bench-asin = -lm +LDLIBS-bench-asin = -lm asinh-ARGLIST = double asinh-RET = double -LDFLAGS-bench-asinh = -lm +LDLIBS-bench-asinh = -lm atan-ARGLIST = double atan-RET = double -LDFLAGS-bench-atan = -lm +LDLIBS-bench-atan = -lm atanh-ARGLIST = double atanh-RET = double -LDFLAGS-bench-atanh = -lm +LDLIBS-bench-atanh = -lm cos-ARGLIST = double cos-RET = double -LDFLAGS-bench-cos = -lm +LDLIBS-bench-cos = -lm cosh-ARGLIST = double cosh-RET = double -LDFLAGS-bench-cosh = -lm +LDLIBS-bench-cosh = -lm exp-ARGLIST = double exp-RET = double -LDFLAGS-bench-exp = -lm +LDLIBS-bench-exp = -lm log-ARGLIST = double log-RET = double -LDFLAGS-bench-log = -lm +LDLIBS-bench-log = -lm pow-ARGLIST = double:double pow-RET = double -LDFLAGS-bench-pow = -lm +LDLIBS-bench-pow = -lm rint-ARGLIST = double rint-RET = double -LDFLAGS-bench-rint = -lm +LDLIBS-bench-rint = -lm sin-ARGLIST = double sin-RET = double -LDFLAGS-bench-sin = -lm +LDLIBS-bench-sin = -lm sinh-ARGLIST = double sinh-RET = double -LDFLAGS-bench-sinh = -lm +LDLIBS-bench-sinh = -lm tan-ARGLIST = double tan-RET = double -LDFLAGS-bench-tan = -lm +LDLIBS-bench-tan = -lm tanh-ARGLIST = double tanh-RET = double -LDFLAGS-bench-tanh = -lm +LDLIBS-bench-tanh = -lm