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 test cases that reproduce #7241.
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
CCompilerOverride
/
custom-cc-clang.bat
blob
72012c9c9d0752c5f0f1c269c5cfc94382865b46
1
@echo OFF
\r
2
\r
3
where /q clang.exe
\r
4
\r
5
IF %ERRORLEVEL% EQU 0 (
\r
6
call clang.exe -DNOERROR6 %*
\r
7
EXIT /B %ERRORLEVEL%
\r
8
)
\r
9
\r
10
ECHO "Cannot find C compiler"
\r
11
EXIT /B 1