From patchwork Fri May 6 23:40:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Brandenburger X-Patchwork-Id: 619513 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3r1pDJ2LTtz9t3w for ; Sat, 7 May 2016 09:40:16 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=TIbM1A/V; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758691AbcEFXkM (ORCPT ); Fri, 6 May 2016 19:40:12 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:35648 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756722AbcEFXkK (ORCPT ); Fri, 6 May 2016 19:40:10 -0400 Received: by mail-pa0-f49.google.com with SMTP id iv1so51911942pac.2 for ; Fri, 06 May 2016 16:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=UFa/MHeVV5lmF9mOUpmzEx8+ok1brvyhoyMktnU0A0g=; b=TIbM1A/Vaod/RAGbJ6o7LtM/qhE1pFI6stU/aKxiUZIXjcxfyChNcgjOadcKQpsv7w glVwSlrs4cX9E8JmVVgPPXFUUg4XgTZYZX8ZeLO8L31Mxm5Y0SYOIVprp9ndg1nUu2Nr PIiEetYT48FSNr9egqLCOc6oQAXNzu0jQGb2Dpgx7pXsui/gmvlaYKDccUwpXxMQVYD7 nNGZlPb3FqQEvXDimx+MrX8bRnvocN410sQTn1q+z7oW099vtXhLpBpxnTO1adCU5Uib HaX3Cbi5S2pCKzQhWwrbVElTJiONNcM1i+eQwUcOMOUNAbG7IJOOyXiVn6VLuF10Esx7 q2Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UFa/MHeVV5lmF9mOUpmzEx8+ok1brvyhoyMktnU0A0g=; b=cADt0dpAV5x3K/uqDds8dl+h/xYZ+0DOH7qHQvS8s11Zt+K2qak/ADCzRvYhyCHQgL SznXQ85F7nXMrib0zL+SIW8V+AHgsFMpUXlmqnYdQuj0cRJPTcrX7AzW+SxaTkGQPuy5 b+B7yB7SJbAw9cB83cw4SixeX6hjLw46l+MFtt+EwFMTCxm/aFyhZmXVEbKQtEdH39iU ygrCC+vKedM0+Asc/EcnvNtqIRVHSqTY/Uz6sQtlcyAjRniRp2o2AmfEZYwlzTr7dQ/O eRN95vE9w+dxahHZ/mS9hnfAxrbExOTWcYhy0LrnLoYzq2kXW2XYJQbc5+qlqnZK+Mc4 p+sw== X-Gm-Message-State: AOPr4FUOmD+9H1mGdafQ6bgGhraIEYDjRUSlsOJVhMbD+NAxQ6CpROvCjU391yI8/b1M5F7a X-Received: by 10.66.253.68 with SMTP id zy4mr32470304pac.81.1462578009913; Fri, 06 May 2016 16:40:09 -0700 (PDT) Received: from montreal.mtv.corp.google.com ([172.17.222.13]) by smtp.gmail.com with ESMTPSA id ut1sm23528838pac.46.2016.05.06.16.40.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 May 2016 16:40:09 -0700 (PDT) From: Filipe Brandenburger To: Theodore Ts'o Cc: linux-ext4@vger.kernel.org, Eric Christopher , Michael Forney , Filipe Brandenburger Subject: [PATCH e2fsprogs] Apply LDFLAGS when building tests in lib/e2p Date: Fri, 6 May 2016 16:40:03 -0700 Message-Id: <1462578003-25315-1-git-send-email-filbranden@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org This was previously addressed by Michael Forney on commit 53904ae543591a but it seems the test cases from lib/e2p (tst_ostype and tst_feature) were missed. Fix them by adding the same $(ALL_LDFLAGS) to those two targets. Tested by building it on a system that depends on LDFLAGS to produce working binaries and confirming that `make check` succeeds. Reported-by: Eric Christopher Signed-off-by: Filipe Brandenburger --- lib/e2p/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/e2p/Makefile.in b/lib/e2p/Makefile.in index 83f04ff5c04e..d109bf190051 100644 --- a/lib/e2p/Makefile.in +++ b/lib/e2p/Makefile.in @@ -68,12 +68,12 @@ e2p.pc: $(srcdir)/e2p.pc.in $(top_builddir)/config.status tst_ostype: $(srcdir)/ostype.c $(E) " LD $@" $(Q) $(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_ostype \ - $(srcdir)/ostype.c $(ALL_CFLAGS) + $(srcdir)/ostype.c $(ALL_CFLAGS) $(ALL_LDFLAGS) tst_feature: $(srcdir)/feature.c $(E) " LD $@" $(Q) $(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_feature \ - $(srcdir)/feature.c $(ALL_CFLAGS) + $(srcdir)/feature.c $(ALL_CFLAGS) $(ALL_LDFLAGS) check:: tst_ostype tst_feature ./tst_ostype