diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:45:54 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:32 -0500 |
commit | d2ac582ca52bea7123fa2696f3a0d3366c872cdf (patch) | |
tree | 750da40467d925d308fe2543b2213f5fb3154ac2 /configure | |
parent | 40bf3844286a94566ee9eae844b5459b8a0eb375 (diff) |
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 |