File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -136,15 +136,23 @@ fn (mut a App) collect_info() {
136
136
a.line ('.git/config present' , os.is_file ('.git/config' ).str ())
137
137
a.line ('' , '' )
138
138
a.line ('cc version' , a.cmd (command: 'cc --version' ))
139
- a.line ('gcc version' , a.cmd (command: 'gcc --version' ))
139
+ if os_kind == 'openbsd' {
140
+ a.line ('gcc version' , a.cmd (command: 'egcc --version' ))
141
+ } else {
142
+ a.line ('gcc version' , a.cmd (command: 'gcc --version' ))
143
+ }
140
144
a.line ('clang version' , a.cmd (command: 'clang --version' ))
141
145
if os_kind == 'windows' {
142
146
// Check for MSVC on windows
143
147
a.line ('msvc version' , a.cmd (command: 'cl' ))
144
148
}
145
149
a.report_tcc_version ('thirdparty/tcc' )
146
150
a.line ('emcc version' , a.cmd (command: 'emcc --version' ))
147
- a.line ('glibc version' , a.cmd (command: 'ldd --version' ))
151
+ if os_kind != 'openbsd' {
152
+ a.line ('glibc version' , a.cmd (command: 'ldd --version' ))
153
+ } else {
154
+ a.line ('glibc version' , 'N/A' )
155
+ }
148
156
}
149
157
150
158
struct CmdConfig {
You can’t perform that action at this time.
0 commit comments