repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Add a check of the current behaviour importing duplicates
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
CCompilerOverride
/
custom-cc-clang.bat
blob
63221f54528883949851b694540043b9e38905c5
1
@echo OFF
\r
2
\r
3
REM replace the libdir with the path to the compiler
\r
4
FOR /f "delims=" %%A in ('call ghc.exe --print-libdir') do set "var=%%A"
\r
5
setlocal EnableDelayedExpansion
\r
6
CALL !var:lib=mingw\bin\clang.exe! -DNOERROR6 %*
\r
7
EXIT /B %ERRORLEVEL%
\r