From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Katz Subject: [PATCH] Add support for passing extra LDFLAGS to qemu's configure Date: Mon, 20 Aug 2007 17:49:06 -0400 Message-ID: <1187646546.7085.153.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-kVzBDJ6Y8/R18rKKi0fE" To: kvm-devel Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --=-kVzBDJ6Y8/R18rKKi0fE Content-Type: text/plain Content-Transfer-Encoding: 7bit There are cases[1] where you want to be able to pass more ldflags to qemu's configure. This lets you set LDFLAGS to accomplish that Signed-off-by: Jeremy Katz Jeremy [1] Such as with the new build-id support in binutils so that you can pass --build-id to the linker while still building with the old compiler as needed for qemu --=-kVzBDJ6Y8/R18rKKi0fE Content-Disposition: attachment; filename=kvm-35-ldflags.patch Content-Type: text/x-patch; name=kvm-35-ldflags.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -up kvm-35/configure.ldflags kvm-35/configure --- kvm-35/configure.ldflags 2007-08-20 17:40:39.000000000 -0400 +++ kvm-35/configure 2007-08-20 17:40:50.000000000 -0400 @@ -83,7 +83,7 @@ target_cpu() { (cd user; ./configure --prefix="$prefix" --kerneldir="$libkvm_kerneldir") (cd qemu; ./configure --target-list=$(target_cpu)-softmmu --cc="$qemu_cc" \ --disable-kqemu --extra-cflags="-I $PWD/../user" \ - --extra-ldflags="-L $PWD/../user" \ + --extra-ldflags="-L $PWD/../user $LDFLAGS" \ --enable-kvm --kernel-path="$libkvm_kerneldir" \ --enable-alsa \ ${disable_gcc_check:+"--disable-gcc-check"} \ --=-kVzBDJ6Y8/R18rKKi0fE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --=-kVzBDJ6Y8/R18rKKi0fE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --=-kVzBDJ6Y8/R18rKKi0fE--