From 708dec5bb7fc2b1244934e585fd5e57ccbd66722 Mon Sep 17 00:00:00 2001 From: buffer51 Date: Wed, 27 Apr 2016 22:23:02 -0700 Subject: [PATCH] Use CROSS_SUFFIX only if CROSS is set --- c_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_check b/c_check index 5242e33..3a5601b 100644 --- a/c_check +++ b/c_check @@ -243,7 +243,7 @@ print MAKEFILE "BINARY64=\n" if $binformat ne bin64; print MAKEFILE "BINARY32=1\n" if $binformat eq bin32; print MAKEFILE "BINARY64=1\n" if $binformat eq bin64; print MAKEFILE "FU=$need_fu\n" if $need_fu ne ""; -print MAKEFILE "CROSS_SUFFIX=$cross_suffix\n" if $cross_suffix ne ""; +print MAKEFILE "CROSS_SUFFIX=$cross_suffix\n" if $cross != 0 && $cross_suffix ne ""; print MAKEFILE "CROSS=1\n" if $cross != 0; print MAKEFILE "CEXTRALIB=$linker_L $linker_l $linker_a\n"; -- 2.7.4