cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: macOS10.12/Xcode8 introduces run-time crash when building libcurl for earlier iOS versions

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 19 Oct 2016 14:39:43 +0200 (CEST)

On Wed, 19 Oct 2016, Martin Storsjö wrote:

> Anyway, as for a concrete fix, I guess we should look for whether the user
> has specified -mmacosx-version-min or -miphoneos-version-min in some way,
> and if not, add them with a default version. -Werror=partial-availability
> should probably be safe to add in any case.

See attached patch. Thoughts?

I tested this approach on my mac and it works fine for me on a plain build
without the -mmacosx-version-min or -miphoneos-version-min options set.

You think this approach is decent?

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

Received on 2016-10-19