fix Raspberry Pi build
parent
9a3570a5b3
commit
12dfd5f016
|
@ -710,7 +710,7 @@ fn (v mut V) cc() {
|
||||||
}
|
}
|
||||||
linux_host := os.user_os() == 'linux'
|
linux_host := os.user_os() == 'linux'
|
||||||
v.log('cc() isprod=$v.pref.is_prod outname=$v.out_name')
|
v.log('cc() isprod=$v.pref.is_prod outname=$v.out_name')
|
||||||
mut a := [v.pref.cflags, '-w'] // arguments for the C compiler
|
mut a := [v.pref.cflags, '-std=gnu11', '-w'] // arguments for the C compiler
|
||||||
flags := v.table.flags.join(' ')
|
flags := v.table.flags.join(' ')
|
||||||
//mut shared := ''
|
//mut shared := ''
|
||||||
if v.pref.is_so {
|
if v.pref.is_so {
|
||||||
|
|
Loading…
Reference in New Issue