termux-packages/packages/pari/config-get_cc.patch

21 lines
561 B
Diff
Raw Normal View History

2021-12-13 16:14:58 +01:00
--- a/config/get_cc
+++ b/config/get_cc
@@ -54,7 +54,7 @@
cmd="$CC $CFLAGS $extraflag -o $exe ansi.c";
. log_cmd
if test -s $exe; then
- $RUNTEST $exe
+ :
fi
if test $? != 0 -o ! -s $exe; then cat << EOT
###
@@ -71,7 +71,7 @@
exe=$osname-$arch-gnu$$$exe_suff
cmd="$CC $extraflag -o $exe gnu.c"
. log_cmd
- if $RUNTEST $exe; then
+ if true; then
# avoid internationalization trouble by setting LANG=C
__gnuc__=`env LANG=C LC_ALL=C LC_MESSAGES=C PATH="$PATH" $CC -v 2>&1 |\
grep ' version ' | tr '\n' , | sed -e 's/ *,$//' |\