summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela2009-08-03 14:45:54 +0200
committerAnthony Liguori2009-08-10 20:05:32 +0200
commitd2ac582ca52bea7123fa2696f3a0d3366c872cdf (patch)
tree750da40467d925d308fe2543b2213f5fb3154ac2 /configure
parentoss variable don't exist anymore (diff)
downloadqemu-d2ac582ca52bea7123fa2696f3a0d3366c872cdf.tar.gz
qemu-d2ac582ca52bea7123fa2696f3a0d3366c872cdf.tar.xz
qemu-d2ac582ca52bea7123fa2696f3a0d3366c872cdf.zip
Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index ec8d1b2ff9..fa4fc77e04 100755
--- a/configure
+++ b/configure
@@ -61,7 +61,7 @@ cat > $TMPC <<EOF
int main(void) {}
EOF
-if $cc $ARCH_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null ; then
+if $cc $CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null ; then
: C compiler works ok
else
echo "ERROR: \"$cc\" either does not exist or does not work"
@@ -75,7 +75,7 @@ cat > $TMPC <<EOF
#endif
int main(void) { return 0; }
EOF
- $cc $ARCH_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
+ $cc $CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
}
if check_define __i386__ ; then