Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8088511rwr; Wed, 10 May 2023 17:57:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JFGlx6Cv+yukTf92QKIlBXKidt2rUkBFvDy2c6pGM7UyW9hHbyIfqozedZj3R0p7JgS2a X-Received: by 2002:a05:6a20:4297:b0:102:35cf:d57 with SMTP id o23-20020a056a20429700b0010235cf0d57mr6367561pzj.48.1683766662157; Wed, 10 May 2023 17:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683766662; cv=none; d=google.com; s=arc-20160816; b=ilimlVrShkL5wY2nGjIkcD7LFN0q9usWclTOI5T1GkjWLFUraqzMWkjiUvceTBodrH 9QC7g8wZpx2pliEXo/CeiVxii9iOXP9Q2Hho5bh5OJeRIQO5IE3Cy+XazWWmKXhBAcv5 3iFoxfeUuNmyiy2rzSHXo1HDRBvH1s2wqMbY1+wMR9HIgN59o7bLYJwEmwFiksL7bo5X 6VwlkgvWRCyYNoVhP4ZyYwpl3alnVzVB0n0obEBJf95mwPK+XUZRPpaGVJ26NQGlIni1 zwaSrdIEF4UwmgqfUn9S6rleQPIEaHP0QAcXNOdq5DRNFRvtelchqwtJnOkGbzExqL4c rMDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/8sy2kY4/g0x4D4nPXyzPG63+I6YAM4Ar+nfcmTS1KE=; b=ucKubLAaX8u31A+SO4R6NyySc9WBI8h5iutSo102eEca65qseRxFSylIMKAkgEpBZy hx46/B7jrJFpkmcIeTNEU42iE1AqcH3ZDYGqbiGmmp+HFj0NBVYQvd8hXiJjkQBMFKRU AE2EE8S7xM1n7SSV3IhWmhRON0Z2LBEUctdVdTzmC4SeW4Vd+mDfx3R4LWs0AfzkRHiH 1Dma8SXW6LzoLJBpZxUguzi04SY5TBFznYeyMvtlKFqnDNOL2h4hC6mrkNryo7H+aASA PPgZekzLWHBsKN1n1F06+Oen9DceD5vUyifDdxrMwBS8Oe5R16Q9DBiz2bcQMpA2NQ5a M3Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ayaya.dev header.s=key1 header.b=vePx4ftw; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ayaya.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a192-20020a6390c9000000b005192614041esi4992543pge.519.2023.05.10.17.57.26; Wed, 10 May 2023 17:57:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ayaya.dev header.s=key1 header.b=vePx4ftw; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ayaya.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230514AbjEKAai (ORCPT + 99 others); Wed, 10 May 2023 20:30:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235579AbjEKAah (ORCPT ); Wed, 10 May 2023 20:30:37 -0400 Received: from out-56.mta1.migadu.com (out-56.mta1.migadu.com [95.215.58.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 055381BE9 for ; Wed, 10 May 2023 17:30:34 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ayaya.dev; s=key1; t=1683764592; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=/8sy2kY4/g0x4D4nPXyzPG63+I6YAM4Ar+nfcmTS1KE=; b=vePx4ftw3B+0fBQHK+5V44pKQMdWEgPVHfKL+GIq9VCWZAfRbBp+OX25DgwCHkYL0q2TfW KWfKwISzZ+UqncYlDFbG+sGwtbD+q4ERvuUSIT8JB0AFeadR/WmSv90ZK+w2GLOBwnUeyf DsDrVp//VU64XPnvxFh5V/Kldx9BvF8= From: psykose To: linux-bluetooth@vger.kernel.org Cc: alice@ayaya.dev Subject: [PATCH BlueZ 1/3] build: set _FILE_OFFSET_BITS and _TIME_BITS to 64 universally Date: Thu, 11 May 2023 02:22:50 +0200 Message-Id: <20230511002252.30868-1-alice@ayaya.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org these are required to make glibc set off_t and time_t to 64-bit wide types on 32-bit platforms, for large-file-support and 2k38 proofing. Signed-off-by: psykose --- Makefile.am | 1 + Makefile.obexd | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 48f0cefa7..97825a720 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,6 +27,7 @@ pkginclude_HEADERS = AM_CFLAGS = $(MISC_CFLAGS) $(WARNING_CFLAGS) $(UDEV_CFLAGS) $(LIBEBOOK_CFLAGS) \ $(LIBEDATASERVER_CFLAGS) $(ell_cflags) AM_LDFLAGS = $(MISC_LDFLAGS) +AM_CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 confdir = $(sysconfdir)/bluetooth statedir = $(localstatedir)/lib/bluetooth diff --git a/Makefile.obexd b/Makefile.obexd index 5d1a4ff65..f4abbb3e5 100644 --- a/Makefile.obexd +++ b/Makefile.obexd @@ -91,7 +91,6 @@ obexd_src_obexd_LDFLAGS = $(AM_LDFLAGS) -Wl,--export-dynamic obexd_src_obexd_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) \ $(ICAL_CFLAGS) -DOBEX_PLUGIN_BUILTIN \ -DPLUGINDIR=\""$(obex_plugindir)"\" \ - -D_FILE_OFFSET_BITS=64 \ -I$(builddir)/lib -I$(builddir)/obexd/src obexd_src_obexd_CFLAGS = $(AM_CFLAGS) -fPIC -- 2.40.1