diff options
author | Juan Quintela | 2009-08-03 14:45:54 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-08-10 20:05:32 +0200 |
commit | d2ac582ca52bea7123fa2696f3a0d3366c872cdf (patch) | |
tree | 750da40467d925d308fe2543b2213f5fb3154ac2 /configure | |
parent | oss variable don't exist anymore (diff) | |
download | qemu-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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |