Skip to contentSkip to conversation

Fix top level qemu config for cross compile

PATCH Applied Jerone Young 2 participants 2 messages Oct 17, 2007 – Oct 18, 2007 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix top level qemu config for cross compile

Qemu is interpreting --cross-prefix & cpu as one argument. This of course yeilds an error. This fixes the error.

configure +2 -1
@@ -124,7 +124,8 @@ fi
     ${disable_gcc_check:+"--disable-gcc-check"} \
     --prefix="$prefix" \
     ${qemu_cc:+"--cc=$qemu_cc"} \
-    ${cross_prefix:+"--cross-prefix=$cross_prefix --cpu=$arch"} \
+    ${cross_prefix:+"--cross-prefix=$cross_prefix"} \
+    ${cross_prefix:+"--cpu=$arch"} \
     $qemu_options
 )
 

-------------------------------------------------------------------------
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/

Applied
#1 lore raw
Quoted 4 lines · Jerone Young

Qemu is interpreting --cross-prefix & cpu as one argument. This of course yeilds an error. This fixes the error.

Applied, thanks.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
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/