Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
544a7384
Commit
544a7384
authored
Dec 19, 2011
by
Simon Marlow
Browse files
fix $(HAVE_PROFILING) on Windows
parent
c425b2fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/mk/test.mk
View file @
544a7384
...
...
@@ -51,7 +51,7 @@ RUNTEST_OPTS += -e ghc_with_native_codegen=0
endif
HASKELL98_LIBDIR
:=
$(
shell
"
$(GHC_PKG)
"
field haskell98 library-dirs |
sed
's/^[^:]*: *//'
)
HAVE_PROFILING
:=
$(
shell
if
[
-f
$(HASKELL98_LIBDIR)
/libHShaskell98-
*
_p.a
]
;
then
echo
YES
;
else
echo
NO
;
fi
)
HAVE_PROFILING
:=
$(
shell
if
[
-f
$(
subst
\,
/,
$(HASKELL98_LIBDIR)
)
/libHShaskell98-
*
_p.a
]
;
then
echo
YES
;
else
echo
NO
;
fi
)
ifeq
"$(HAVE_PROFILING)" "YES"
RUNTEST_OPTS
+=
-e
ghc_with_profiling
=
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment