From d65a61dfa99e613a3f16b85e592b1e35270d4098 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 20 Apr 2013 18:51:18 +0100 Subject: Use different exeext variables for each stage; fixes #7709 Currently they are all set to the same value, but when cross-compiling they could be set to different values. --- rules/build-prog.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules') diff --git a/rules/build-prog.mk b/rules/build-prog.mk index b788bc15b4..0f4bb49489 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -33,7 +33,7 @@ endif ifneq "$$($1_$2_PROG)" "" $$(error $1_$2_PROG is set) endif -$1_$2_PROG = $$($1_$2_PROGNAME)$$(exeext) +$1_$2_PROG = $$($1_$2_PROGNAME)$$(exeext$3) endif ifeq "$$(findstring $3,0 1 2)" "" -- cgit v1.2.1