History

Identify C compiler by the first line of --version output

malc committed 5 years ago

Commit 8b33ca61 parent 0b47de01 file · +1 −1Browse files

Unified · Split

build.bash+1−1
@@ -135,7 +135,7 @@ test "$overs" = "4.11.1" || { · 134 unmodified lines
135 135
136ccomp=${LLPP_CC-$(set -- $(ocamlc -config | grep ^bytecomp_c_compiler:);136ccomp=${LLPP_CC-$(set -- $(ocamlc -config | grep ^bytecomp_c_compiler:);
137 shift; echo $@)}137 shift; echo $@)}
138cvers=$($ccomp --version)138cvers=$($ccomp --version | { read v; echo $v; })
139 139
140bocaml1() {140bocaml1() {
141 grep -q "$3" $outd/ordered || {141 grep -q "$3" $outd/ordered || {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t