[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/14] default compilation tools to environment vari
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 01/14] default compilation tools to environment variables |
Date: |
Sun, 14 Nov 2010 12:48:49 +0100 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
configure | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/configure b/configure
index f62c1fe..756d72e 100755
--- a/configure
+++ b/configure
@@ -74,19 +74,13 @@ interp_prefix="/usr/gnemul/qemu-%M"
static="no"
sparc_cpu=""
cross_prefix=""
-cc="gcc"
audio_drv_list=""
audio_card_list="ac97 es1370 sb16"
audio_possible_cards="ac97 es1370 sb16 cs4231a adlib gus"
block_drv_whitelist=""
host_cc="gcc"
-ar="ar"
make="make"
install="install"
-objcopy="objcopy"
-ld="ld"
-strip="strip"
-windres="windres"
helper_cflags=""
libs_softmmu=""
libs_tools=""
@@ -100,7 +94,7 @@ for opt do
case "$opt" in
--cross-prefix=*) cross_prefix="$optarg"
;;
- --cc=*) cc="$optarg"
+ --cc=*) CC="$optarg"
;;
--cpu=*) cpu="$optarg"
;;
@@ -129,12 +123,12 @@ done
# Using uname is really, really broken. Once we have the right set of checks
# we can eliminate it's usage altogether
-cc="${cross_prefix}${cc}"
-ar="${cross_prefix}${ar}"
-objcopy="${cross_prefix}${objcopy}"
-ld="${cross_prefix}${ld}"
-strip="${cross_prefix}${strip}"
-windres="${cross_prefix}${windres}"
+cc="${cross_prefix}${CC-gcc}"
+ar="${cross_prefix}${AR-ar}"
+objcopy="${cross_prefix}${OBJCOPY-objcopy}"
+ld="${cross_prefix}${LD-ld}"
+strip="${cross_prefix}${STRIP-strip}"
+windres="${cross_prefix}${WINDRES-windres}"
# default flags for all hosts
QEMU_CFLAGS="-fno-strict-aliasing $QEMU_CFLAGS"
--
1.7.2.3
- [Qemu-devel] [PATCH 00/14] preparation for autoconfy configure script, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 01/14] default compilation tools to environment variables,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 02/14] default make and install to environment variables, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 03/14] move feature variables to the top, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 04/14] fix sparse support (?), Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 05/14] test cc with the complete set of chosen flags, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 06/14] do not pass bogus $(SRC_PATH) include paths to cc during configure, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 07/14] provide portable HOST_LONG_BITS test, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 08/14] fix spelling of $pkg_config, move default together with other cross tools, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 09/14] do not default to non-prefixed pkg-config when cross compiling, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 10/14] reorganize sdl-config tests, Paolo Bonzini, 2010/11/14
- [Qemu-devel] [PATCH 11/14] assume existence of "ln -sf", Paolo Bonzini, 2010/11/14