From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ep6Go-0002dg-R3 for qemu-devel@nongnu.org; Wed, 21 Dec 2005 10:52:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ep6Gj-0002cY-De for qemu-devel@nongnu.org; Wed, 21 Dec 2005 10:52:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ep6Gg-0002bz-R3 for qemu-devel@nongnu.org; Wed, 21 Dec 2005 10:52:44 -0500 Received: from [17.250.248.45] (helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ep6K0-0001g4-Eo for qemu-devel@nongnu.org; Wed, 21 Dec 2005 10:56:08 -0500 Received: from mac.com (smtpin04-en2 [10.13.10.149]) by smtpout.mac.com (Xserve/8.12.11/smtpout11/MantshX 4.0) with ESMTP id jBLFpgoV007286 for ; Wed, 21 Dec 2005 07:51:42 -0800 (PST) Received: from [10.0.1.53] (fw.pepper.com [65.219.252.50]) (authenticated bits=0) by mac.com (Xserve/smtpin04/MantshX 4.0) with ESMTP id jBLFpaSL014580 for ; Wed, 21 Dec 2005 07:51:41 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed From: Steve Magoun Date: Wed, 21 Dec 2005 10:51:32 -0500 Subject: [Qemu-devel] [PATCH] Fix --extra-cflags, --extra-ldflags Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch fixes the --extra-cflags and --extra-ldflags arguments to configure; without the patch extra flags passed through those arguments were ignored. Steve Index: Makefile =================================================================== RCS file: /cvsroot/qemu/qemu/Makefile,v retrieving revision 1.91 diff -u -r1.91 Makefile --- Makefile 6 Dec 2005 21:42:03 -0000 1.91 +++ Makefile 21 Dec 2005 15:32:53 -0000 @@ -1,10 +1,10 @@ -include config-host.mak -CFLAGS=-Wall -O2 -g -fno-strict-aliasing +CFLAGS+=-Wall -O2 -g -fno-strict-aliasing ifdef CONFIG_DARWIN CFLAGS+= -mdynamic-no-pic endif -LDFLAGS=-g +LDFLAGS+=-g LIBS= DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE TOOLS=qemu-img$(EXESUF) Index: Makefile.target =================================================================== RCS file: /cvsroot/qemu/qemu/Makefile.target,v retrieving revision 1.90 diff -u -r1.90 Makefile.target --- Makefile.target 6 Dec 2005 21:42:17 -0000 1.90 +++ Makefile.target 21 Dec 2005 15:32:53 -0000 @@ -17,9 +17,9 @@ VPATH+=:$(SRC_PATH)/linux-user DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH) endif -CFLAGS=-Wall -O2 -g -fno-strict-aliasing +CFLAGS+=-Wall -O2 -g -fno-strict-aliasing #CFLAGS+=-Werror -LDFLAGS=-g +LDFLAGS+=-g LIBS= HELPER_CFLAGS=$(CFLAGS) DYNGEN=../dyngen$(EXESUF)