[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.0] configure: add option to disable -fstac
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH for-2.0] configure: add option to disable -fstack-protector flags |
Date: |
Wed, 9 Apr 2014 10:34:48 +0100 |
On 9 April 2014 10:29, Noonan, Steven <address@hidden> wrote:
> So in your case all you probably need is to drop the -framework
> arguments from CFLAGS and plop them into LIBS, and you're probably good
> to go.
This is where they are already. The problem is that putting
-framework on the linker command line causes clang to
fail to reject -fsome-random-unknown-thing, which means
we can't do configure detection of -fsomething arguments
using compile_prog :-(
I think the only thing we can do about this is to make sure
that our configure code to check for -fsomething does a
compile-only check and not a link.
thanks
-- PMM