From patchwork Thu Dec 21 22:10:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Storsj=C3=B6?= X-Patchwork-Id: 45275 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:6623:b0:194:e134:edd4 with SMTP id n35csp715707pzh; Thu, 21 Dec 2023 14:10:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJW2UUHlpsg8Psvf/1gSsjvLWUjGZMvixzYOdaSFSRK5iYa2Q4A5oastgRcNBJcUt55bz9 X-Received: by 2002:a2e:b4b5:0:b0:2cc:71b8:1932 with SMTP id q21-20020a2eb4b5000000b002cc71b81932mr54076ljm.83.1703196634651; Thu, 21 Dec 2023 14:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703196634; cv=none; d=google.com; s=arc-20160816; b=BqK9TGdUwoTNPBQDgVM9i6NA+CDstNe3EslXWudXDcUg/rqNHNQY840rmOLywHLRMw cSTjaYMCGPWARjt7L403aaUMdWcconWEPPWsxoPi6/Uy6FAwHq1Xts8LUd/QvffHGbVj A02zhNuPyECN/VNKFx8n07wwg4sgaWSDznS+OG8EGqluRdZW0XqzPlfsF4oxYNgYHuxM 0B0LKG7INmXs2dL/Lly+X2O5E3URLfzlKaltwb4UfC4lLQA8813+d7rziEo42O3AEN8V F+4Y1GroPMVdu/Ho3X48T0bx+wNW2Esj20ICtg+afQU7ojQ1n+K3r7iatOZ6pazn6fX7 oxJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=eqRAaHVr/1aKtJpI+v3bxb7N08Iv1dCjKlhhneNXw7Y=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=vGWJn3YTR9XCHerZfqNqp3QrIvuTzbhJlph1ZOdoqLJPxWs6cWmOl9jXV4+xQCeQaR /MZOLSo5lokiLem6N8evReOXml/fXOnCJw7IPp+jy78yaN6C5rlkOF1ojeUHLV7Hd0xk +g6eqy/T4/jtaI/8Agt+WlOYIMKDjc21sN5hTecRwLbK1xuc9LfMs3972UTurAtPFNaJ icEblLoDDkNlaoRbVDsAo9KcM/riP+3YCgxO7lfQW0WUTrKEdPhRV5jdIvd82//CdHC4 qbR/qImwQwsqYy6TuJZ0RQFD10cPAYGHJ4T8K3M1wme7dP2ycxTYbE12C2m7O69BTXLu uUhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@martin-st.20230601.gappssmtp.com header.s=20230601 header.b=tlYGDp5i; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id ec37-20020a0564020d6500b0055339041a12si1159205edb.629.2023.12.21.14.10.34; Thu, 21 Dec 2023 14:10:34 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@martin-st.20230601.gappssmtp.com header.s=20230601 header.b=tlYGDp5i; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 71FA368CEFA; Fri, 22 Dec 2023 00:10:31 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EBB5268D0DD for ; Fri, 22 Dec 2023 00:10:24 +0200 (EET) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-50e3c6f1c10so1687251e87.1 for ; Thu, 21 Dec 2023 14:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1703196624; x=1703801424; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ytWQG6WNQVvqHWy55ST+tcLcT16mQamI4fnUqCHGAN8=; b=tlYGDp5ixsKo9ekhSkppndT72J+mDxEnaZl4/lJW/oDrPoEbtj2Qj9mIkwZ8LNKtUv gspMuhyqVtSDjEqYM/x73eocnOJ7/Ht2p+OrNxc25HEJDyahyxMy6nHtXdJZ6iIO/kgp lNDtHQDD2MAj9/aW7PHIMLJeLyrSpAkDnWl26HIOy7gFYV/rqZas5MXcJq3UrANow8Zm huebPLNpXvTXp4DthDMHKLTrAHqazJxWSKwyJbfrOqLBuELxz+Vsc7eeriazUca/9qjV TmUvZz9sbcBMsGAR7Pc7fCwNxvBGsaEM6taMdmYuHWb6n29mT98aKqNWI7Jd/IKqYN4s iObA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703196624; x=1703801424; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ytWQG6WNQVvqHWy55ST+tcLcT16mQamI4fnUqCHGAN8=; b=Xs5hkqf8NUGuvQRskTBFLEfCbBUGt20tsoJJRYArDOeMXE5pmgMO+UDxQHXsF5yjTP Yp2oPy9XNAEOUWsGt3+h8Xlhai/dDBiQZah35oDUBwEd7Ol9nz4ZHbJz5d+X6YiPIC4l cm2Lb7TT7vTwLdpHVdEdS1pFKIKhIckbFBwmEEgBa0i6vN6z2Fw2Tu+LqbviVuJrqX2c 491Blx+6CeXH2kcnGUxl+wSidlFwgfYZ0Kxz/MdSdjDCqNjBmLDLPXHEM47MZEndJ9Tc Vjq/fi1sJYonad08KRNKL2DWsgv0jxhZmgf6PFWYRZlG+WDeuDUwJBWIG7hNyUTpE66M QXoQ== X-Gm-Message-State: AOJu0YzHutq5IvdUj9qT3e/FgbhgErvMDUDnmU9Lr79ode3FrdE2tG99 aqd4lRFAS+e3rAZ7qQT5eJUI3dq8oqgBQfYCzVvbPkXtVO5S X-Received: by 2002:ac2:41c6:0:b0:50e:4fe8:b589 with SMTP id d6-20020ac241c6000000b0050e4fe8b589mr72724lfi.229.1703196623977; Thu, 21 Dec 2023 14:10:23 -0800 (PST) Received: from localhost (dsl-tkubng21-58c01c-243.dhcp.inet.fi. [88.192.28.243]) by smtp.gmail.com with ESMTPSA id n3-20020a056512310300b0050e64990b2asm126687lfb.101.2023.12.21.14.10.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 14:10:23 -0800 (PST) From: =?utf-8?q?Martin_Storsj=C3=B6?= To: ffmpeg-devel@ffmpeg.org Date: Fri, 22 Dec 2023 00:10:22 +0200 Message-Id: <20231221221022.280234-1-martin@martin.st> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] configure: Don't pass -mfp16-format to MSVC on ARM X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: WZOfd/UBk37N The check for this option does succeed - MSVC accepts the option, but prints a warning about it being unknown and ignored, for each compiled object file: cl : Command line warning D9002 : ignoring unknown option '-mfp16-format=ieee' The configure script only attempts to add this option on ARM, therefore this warning isn't seen by the majority of people building with MSVC. Making this option into a no-op probably isn't entirely right, but on the other hand, we don't want to litter the code that checks for support for the option with compiler specific conditions either. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 18fe8eaa5c..31d0039fed 100755 --- a/configure +++ b/configure @@ -4702,6 +4702,7 @@ msvc_common_flags(){ -fPIC) ;; -mthumb) ;; -march=*) ;; + -mfp16-format=*) ;; -lz) echo zlib.lib ;; -lx264) echo libx264.lib ;; -lstdc++) ;;