Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1414897rdb; Fri, 16 Feb 2024 15:34:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWHnlCeF1EYApyFHqQWPNDFoqWrV7mnr441Y3OdiE+jMx5qRDXni1I6xyuRxFzrpqGWPBKoXIwvyXYu6xPXDdkqTPC2KsFfwT8KlG2o9g== X-Google-Smtp-Source: AGHT+IENVC028fAT9ogIOjHv8Shk+JtB42IvbucwvP8ngzSlfSxpJjnu6EvVpnbyp3pqIr5UfAgb X-Received: by 2002:a05:6358:706:b0:178:92dc:8a32 with SMTP id e6-20020a056358070600b0017892dc8a32mr6651895rwj.20.1708126483886; Fri, 16 Feb 2024 15:34:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708126483; cv=pass; d=google.com; s=arc-20160816; b=iPLTirfHSn5/XgSaz2nUM7c6t6eelmURJlTRIl6TOZNcI1RWZqZvBeSgx3KkNpkyWS h5+zqMWT/KaM8inc/4sCBlyHMpgNK1pwB8SSyo3H33VgeKgH8jP+QlpqxMMipf8ieFwh WlE4zgUf0vfE4OiO0Rv4HWDyKpTum6LvRUEFWVAtYJ8GOIol+de0b4DO+7lkM6XWz4mQ +5mTefTV7lzjoNAphYAHMuh+uWXbb0uww/8aPpk3TrdqHIt5RwqDiBA0SNz8jB+xlXbq V2IG9Avwy7QPVXQiROj4iK/5BQLOUvcMqVq4w9D8DR8QbXBWvYSHhu9ouVfRTwQIM4dR 6IZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=vRno5UlPgoMuHt9dmIRjx3TNUf3hPmP/2yC5acv0MXo=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=iCo5ovuvJzXcl9ygPRwTiPJsnAowuP5knYjFH6tmiU7ZHWT2oCAtmgi/LzQgotYGil WgNyJ0wonY6SQGbdGASozi3Czl6utF6LUCZLzclKd5TfBRpox3odGHRm3DLGGk72SyFR dgKtrGGdB3V2yhrfLcFnypEkurdOBpolK+50e64TtwNrl9j2nRHyVxXqhNNCakxuOMSf BMUaucP7z9Fflno7WopXkFF6bkgh54/CJpm/jKjbzp5HtMZrhUKjtzIct5/ELhN5Zpbf 1I0NnBxFc0x99nw90dCT5L5bkVgt92SEn0v/pVb9iDZua/EhNLjWjbNCZd+xEP4M8WXK NGzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eMnMkBOu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g68-20020a636b47000000b005dc34c3db42si573803pgc.259.2024.02.16.15.34.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 15:34:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eMnMkBOu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9F2F8B284D2 for ; Fri, 16 Feb 2024 23:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 948FF150996; Fri, 16 Feb 2024 23:11:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eMnMkBOu" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AC201487F9 for ; Fri, 16 Feb 2024 23:11:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708125071; cv=none; b=czl5FKZR5poSMLdq0F1Bpfrs7xnh3FWG5/ol8BQJVp7FvPIt3P7s5k3/ALZeGuutnzOpvUjARlUdyoG142qypLUMAr2c3rq+gHV9mNuIQU0oj0anpV+BIPyRFBYdumZ5xbKUlmA5fdzgNeiBKK9xuf2GfUUTFiDLuHttslq+Uxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708125071; c=relaxed/simple; bh=k1utIIAk6WcWlrE2Ld/X0uHgBt4Cmr8j8H3isV7mdA4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To; b=UDwOq6QoQbgvv117xyGy/FQMm3hAbMZgJpXioUSKgarMVWt09AZYtFDud1HPUiDAOdxhrAeW7YmwtWWYAEVKmdwJl/sUlNlNgSea1l1WJ4BqKJZfkk4q7MeomfHV7CxO79AdJBzsZBu6oUjFu3Wab4U78DX833InlONHgTUUo+g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eMnMkBOu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 2BADDC433B1 for ; Fri, 16 Feb 2024 23:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708125071; bh=k1utIIAk6WcWlrE2Ld/X0uHgBt4Cmr8j8H3isV7mdA4=; h=From:Date:Subject:References:In-Reply-To:To:Reply-To:From; b=eMnMkBOu/76XNdqyjepzYPDZwUFPXyuJIRtERywQKiMtPhJWmt21SJJqux7WfDGLB 4CLBsBHYkE8HrnM46N/PRKe7LPciKf8FrDBBN6kfVZw+IUUgGKzcffqKthpZeoKENM T1fETyAKM7CaOUmkRZdGNSnHUfl0jfv9rPF6ijfGHgrWYy/0r82mp1hPulrFDAvynz HtpZaz29ivx/M8W/Ff5vXrADJSP7+WRdqtHK/OxnfZ0/cvFt4Pv/wTx0/WWA/z6yD8 JBLyDyL016ideWfOlCXN73kn90JHvy6i9LAtmwnuVazez9jmLLDRDxWAQShEHj3SXH FiO7EkBrCsG2Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19406C48260 for ; Fri, 16 Feb 2024 23:11:11 +0000 (UTC) From: Emil Velikov via B4 Relay Date: Fri, 16 Feb 2024 23:11:10 +0000 Subject: [PATCH BlueZ v2 06/10] build: drop explicit -fPIC from obexd CFLAGS Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240216-hook-fixup-v2-6-a6b192d1a6ad@gmail.com> References: <20240216-hook-fixup-v2-0-a6b192d1a6ad@gmail.com> In-Reply-To: <20240216-hook-fixup-v2-0-a6b192d1a6ad@gmail.com> To: linux-bluetooth@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708125068; l=777; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=RWIlAJI/f0bffjXcuxiy9osevTreZ+4pUs/NPwBF2tA=; b=Q7XgNCkkxFOJ7c+3UFQmzJduYnXLnGLmxVvhtPRhndRPtTVw0GFrYBUJIBV302Tf+ZKJLdavi hGm3G6GV0YiCy4ViuvukEbJeTIc5BhQlxn7GmWgqdjgIGFRw47WCjWk X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: From: Emil Velikov The option is handled by the global --enable-pic. Drop the local explicit argument. With that we can drop the standalone CFLAGS. Aside: the -D_FILE_OFFSET_BITS=64 also seems off - we should either be setting it globally or not at all... Something for another rainy day. --- Makefile.obexd | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile.obexd b/Makefile.obexd index e8e4a6144..01aa3a9c7 100644 --- a/Makefile.obexd +++ b/Makefile.obexd @@ -104,8 +104,6 @@ obexd_src_obexd_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) \ -D_FILE_OFFSET_BITS=64 \ -I$(builddir)/lib -I$(builddir)/obexd/src -obexd_src_obexd_CFLAGS = $(AM_CFLAGS) -fPIC - else obexd-add-service-symlink: obexd-remove-service-symlink: -- 2.43.1