From patchwork Mon Nov 28 22:42:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9486535 X-Mozilla-Keys: nonjunk Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sandeen.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 X-Spam-HP: BAYES_00=-1.9,DKIM_ADSP_CUSTOM_MED=0.001,DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.1, T_DKIM_INVALID=0.01 X-Original-To: sandeen@sandeen.net Delivered-To: sandeen@sandeen.net Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by sandeen.net (Postfix) with ESMTP id 6CEB1116E4 for ; Mon, 28 Nov 2016 16:42:08 -0600 (CST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755537AbcK1Wmx (ORCPT ); Mon, 28 Nov 2016 17:42:53 -0500 Received: from mail-pg0-f53.google.com ([74.125.83.53]:33973 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755071AbcK1Wmw (ORCPT ); Mon, 28 Nov 2016 17:42:52 -0500 Received: by mail-pg0-f53.google.com with SMTP id x23so61567830pgx.1 for ; Mon, 28 Nov 2016 14:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=D5yd2S9Oi5BNGxkC3+Vvb4GGvYmB4zKDE3vRM2Pnjto=; b=ZilaMDO/IodNHVskQboCRsQahA1JvfDCy+aPlDC+VUWpztJnDIlDnlBGk7CsebqxXK h8anNFIf1GmbFKMQTVpxKhyjiMHrHUxKKKwG4daeTAq6Pe11SlgfT+McVJKT9Kdt53Mo lkN0Wv7J8MGKknudYtqJv2Y5ixU3UjTNYNypPSQArbpNlBX+0X7Vm8j+aE9W2asBvDb/ Wob00XNoEQLK9cxLxypc0dXYs7Xcl6wi57k8S6a5Vq1gt6SmvtqMYAlCLtRUT6mbIkoA BFMDqcXSsstK3HKXMmZRgNjHcY+L0Yszs2Wq+dpN2vmOLkuFtN57CBXLWdvl8wncXHLf 2zVw== 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=D5yd2S9Oi5BNGxkC3+Vvb4GGvYmB4zKDE3vRM2Pnjto=; b=jnrA2jvka5JzFyXEsY4C6ooBgPcnrD7AarfM609VrELYH9YCQClO0gWyfslpdQ3jon I+W+VqIgwoTiFqhscx2NDQmxOeVnJ7TN9dQbRql5oOKnlj1/wNe7BtrVtOI7RUHhLiRG i4gkdnT9EOXT5oDYvQ0OSVdNtscsrLo3tztJgTlwKllGBxfE3CZrUxAIF00ARwkiMcGN eFVHYJ0+e62U3GgqD0JjMYH7KBAxiDs8PIoTQHM19yEhmINLGH34ukTebxD1ndOFv4do dwKdp4OTjXO1KjLdylmx11WeRxWbiMT7PR/NkqALis1wA9tPkptJH6CSW9VCgmv16eKT 0ziw== X-Gm-Message-State: AKaTC01wdHpDTINlSyCBc6uinE+gFZay4Z1lf/OcPA1gUU2oiHk1W39i0cy3aBd+NrouhpWF X-Received: by 10.99.171.65 with SMTP id k1mr43966737pgp.87.1480372970927; Mon, 28 Nov 2016 14:42:50 -0800 (PST) Received: from ebiggers-linuxstation.kir.corp.google.com ([100.119.30.154]) by smtp.gmail.com with ESMTPSA id l7sm89567790pfg.35.2016.11.28.14.42.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Nov 2016 14:42:50 -0800 (PST) From: Eric Biggers To: linux-xfs@vger.kernel.org Cc: Eric Biggers Subject: [PATCH] Fix building xfsprogs on 32-bit platforms Date: Mon, 28 Nov 2016 14:42:35 -0800 Message-Id: <1480372955-41315-1-git-send-email-ebiggers@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Since commit 7fda99a0c297 ("xfs.h: require transparent LFS for all users"), building xfsprogs fails on a 32-bit platform because it does not define _FILE_OFFSET_BITS=64 itself. Fix it by adding this to CFLAGS in builddefs.in. Signed-off-by: Eric Biggers --- include/builddefs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/builddefs.in b/include/builddefs.in index aeb2905..5219071 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -25,7 +25,7 @@ OPTIMIZER = @opt_build@ MALLOCLIB = @malloc_lib@ LOADERFLAGS = @LDFLAGS@ LTLDFLAGS = @LDFLAGS@ -CFLAGS = @CFLAGS@ +CFLAGS = @CFLAGS@ -D_FILE_OFFSET_BITS=64 LIBRT = @librt@ LIBUUID = @libuuid@