[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH] winebuild: Use Clang to assemble if found. (try 5)
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2013-01-28 18:45:41
Message-ID: 87boc9w3hm.fsf () wine ! dyndns ! org
[Download RAW message or body]
Charles Davis <cdavis5x@gmail.com> writes:
> Try 5: Don't use strstr(3).
>
> The configure script invokes the C compiler to figure out if .cfi
> pseudo-ops are supported, on the assumption that it will invoke the
> system assembler. Winebuild, on the other hand, invokes the system
> assembler directly. This caused a problem on Mac OS hosts when compiling
> with Clang: configure would detect that .cfi ops were supported, because
> Clang's integrated assembler supports them; however, when winebuild then
> emitted assembly with .cfi ops in them, the system assembler would then
> choke. This patch makes winebuild invoke Clang's assembler if it is
> found in the path.
It's causing warnings on my Mac:
clang: warning: /usr/bin/clang: 'linker' input unused when '-c' is present
clang: warning: /usr/bin/clang: 'linker' input unused when '-c' is present
--
Alexandre Julliard
julliard@winehq.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic