diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-04-20 18:51:18 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-04-20 18:51:18 +0100 |
commit | d65a61dfa99e613a3f16b85e592b1e35270d4098 (patch) | |
tree | a574cdab25ea213a13f078edfa05eae3350f1efb /rules | |
parent | c91c23300d58e4bd06c0f154e9ade0e1e3c2c21e (diff) | |
download | haskell-d65a61dfa99e613a3f16b85e592b1e35270d4098.tar.gz |
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.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-prog.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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)" "" |