Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- configure | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure b/configure index 7f2e2a4..1ea56f7 100755 --- a/configure +++ b/configure @@ -180,7 +180,7 @@ for opt do case "$opt" in --cross-prefix=*) cross_prefix="$optarg" ;; - --cc=*) CC="$optarg" + CC=*|--cc=*) CC="$optarg" ;; --source-path=*) source_path="$optarg" source_path_used="yes" @@ -517,7 +517,7 @@ for opt do ;; --cross-prefix=*) ;; - --cc=*) + CC=*|--cc=*) ;; --host-cc=*) ;; @@ -828,7 +828,6 @@ echo "" echo "Advanced options (experts only):" echo " --source-path=PATH path of source code [$source_path]" echo " --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]" -echo " --cc=CC use C compiler CC [$cc]" echo " --make=MAKE use specified make [$make]" echo " --install=INSTALL use specified install [$install]" echo " --static enable static build [$static]" @@ -924,10 +923,12 @@ echo " --disable-spice disable spice" echo " --enable-spice enable spice" echo "" echo "Deprecated options:" +echo " --cc=CC use C compiler CC [$cc]" echo " --extra-cflags=CFLAGS append extra C compiler flags QEMU_CFLAGS" echo " --extra-ldflags=LDFLAGS append extra linker flags LDFLAGS" echo "" echo "Some influential environment variables can be passed on the command line:" +echo " CC C compiler command" echo " CFLAGS C compiler flags" echo " CPPFLAGS C preprocessor flags, e.g. -I<include dir> if you have" echo " headers in a nonstandard directory <include dir>" -- 1.7.2.3