提交 d2ac582c 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
Message-Id: 
上级 40bf3844
...@@ -61,7 +61,7 @@ cat > $TMPC <<EOF ...@@ -61,7 +61,7 @@ cat > $TMPC <<EOF
int main(void) {} int main(void) {}
EOF 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 : C compiler works ok
else else
echo "ERROR: \"$cc\" either does not exist or does not work" echo "ERROR: \"$cc\" either does not exist or does not work"
...@@ -75,7 +75,7 @@ cat > $TMPC <<EOF ...@@ -75,7 +75,7 @@ cat > $TMPC <<EOF
#endif #endif
int main(void) { return 0; } int main(void) { return 0; }
EOF 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 if check_define __i386__ ; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册