From: ths Date: Mon, 1 Jan 2007 21:31:01 +0000 (+0000) Subject: Fix Makefile weirdness. X-Git-Tag: release_0_9_1~1610 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a657d95eb654a33653c23ff1c67961b6c755300c;p=qemu-xen-3.3-testing.git Fix Makefile weirdness. --- diff --git a/Makefile b/Makefile index f0a8199f..52ec957a 100644 --- a/Makefile +++ b/Makefile @@ -5,14 +5,14 @@ include config-host.mak .PHONY: all clean distclean dvi info install install-doc tar tarbin \ speed test test2 html dvi info -CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I. +CFLAGS+=-Wall -O2 -g -fno-strict-aliasing -I. ifdef CONFIG_DARWIN CFLAGS+= -mdynamic-no-pic endif ifeq ($(ARCH),sparc) CFLAGS+=-mcpu=ultrasparc endif -LDFLAGS=-g +LDFLAGS+=-g LIBS= DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE TOOLS=qemu-img$(EXESUF) diff --git a/configure b/configure index cc4bd3fa..70d557a5 100755 --- a/configure +++ b/configure @@ -243,11 +243,6 @@ for opt do esac done -# Checking for CFLAGS -if test -z "$CFLAGS"; then - CFLAGS="-O2" -fi - if test x"$show_help" = x"yes" ; then cat << EOF