From patchwork Wed Apr 1 14:59:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Eugen Hoyos X-Patchwork-Id: 18570 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 093F644A358 for ; Wed, 1 Apr 2020 17:59:48 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D071068ACB7; Wed, 1 Apr 2020 17:59:47 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F204268AA35 for ; Wed, 1 Apr 2020 17:59:40 +0300 (EEST) Received: by mail-il1-f172.google.com with SMTP id j69so171174ila.11 for ; Wed, 01 Apr 2020 07:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=78/clhdfRp9c1Yo9hY8NmtcWQnPobxEZFBJz7Qoa8i8=; b=e+DE20ahj7y5Lc+6icVsdISiDBlxMCxWYKpano23tiCX3T5IwFDQmE4PopqWM49dcr fhtfoT+Ca2MPpMUxDNuda9jfEcP4pxLHNojJnNdX5/XBPUymjfpA1lyrLxajiVNpiGnq M4XjqdZGAQ1lAQmc1DJKeBZ6Su5YwaZq1IiSY2mkaT8jQj/ckLs9OHqYgy33KG7/0XOs dzt8I3wbJBFoGuhJtZz3Pw9kq17wKnMyjJlBQaA0ykp9m9nYjun4eGvnaIStGTqMadbz N8LoJw6IeZJ97cuj3ltlLDvMQESZ8gOrasIRXnF5+hSX3+QeLqBT0FPoZ1i8q0AZWWU4 hxEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=78/clhdfRp9c1Yo9hY8NmtcWQnPobxEZFBJz7Qoa8i8=; b=uTThGgdMgxJTRbsqhYiYdvKlfLAY5pTiK6H0RQ9V+2wmcYdD1KniEdoA5VCvSynvoP pH88U/bCMFxZZ7DOyr6srKok+/skkNJpv3LSKvM72RDeAwAFrY1+DkLRJ8UpIWFQCCDb csrJQHh76qeiIKu0Y+mA6KnHl0XjYczryWk/OgLfUxOXs3/XLWFQGUJlPCyYCEK8jvFz /ncUXEFkmgF8+fONPegqj/oxcXYau8e9t9a0pdv6mqDH0Yan/PjzFSMTi5VHqJLZ+Gsq 9Ubo+28ccUSqE5h/LKnGzLaW93jDxMJgR89XWGDcVap6Xl6ZlrK9BCjcEJRm33NRyNFB tGGw== X-Gm-Message-State: ANhLgQ3sT0quOJ7qN/hn7zmZeqBdKIWQGFAHjzuc7VST2WaH/gV+sslI ozdwdN7WvvQBUahybimpoFV62vOvxDsr3OGPmTnERA== X-Google-Smtp-Source: ADFU+vv/EGo4ibhB1OpGFmHJVgNxse8WRRFcXbM7vkbQHlsXUcrc84xHlHm0crWfJ4lB0RPr8abIM9ctkmiCCpXGg2c= X-Received: by 2002:a92:d347:: with SMTP id a7mr22903864ilh.289.1585753179230; Wed, 01 Apr 2020 07:59:39 -0700 (PDT) MIME-Version: 1.0 From: Carl Eugen Hoyos Date: Wed, 1 Apr 2020 16:59:28 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH]configure: Filter -Wl, linker flags out for msvc compilation X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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" Hi! Attached patch silences a few warnings when compiling with cl.exe or clang-cl.exe. Or are there any working options? Please comment, Carl Eugen From c1c8a1aad6651e9316863b582912e66231b89924 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 1 Apr 2020 16:57:40 +0200 Subject: [PATCH] configure: Filter -Wl, linker flags out for msvc compilation. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 21827eeb45..a0ecb2a374 100755 --- a/configure +++ b/configure @@ -4438,6 +4438,7 @@ msvc_common_flags(){ -l*) echo ${flag#-l}.lib ;; -LARGEADDRESSAWARE) echo $flag ;; -L*) echo -libpath:${flag#-L} ;; + -Wl,*) ;; *) echo $flag ;; esac done -- 2.24.1