blob: a27a67bcaee2540a3735fe3759df18d34d831b61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# For MIPS at least, pic is needed to trigger the problem.
if { [istarget rs6000-*-aix*]
|| [istarget powerpc*-*-aix*]
|| [istarget arm*-*-*]
|| [istarget xscale-*-*]
|| [istarget strongarm*-*-*]
|| [istarget fr30-*-*]
|| [istarget sh-*-hms]
|| [istarget sh-*-coff]
|| [istarget h8300*-*-*]
|| [istarget mn10200*-*-*]
|| [istarget cris-*-elf*]
|| [istarget cris-*-aout*]
|| [istarget mmix-*-*]
} {
set options "-Wuninitialized -Werror"
} else {
set options "-Wuninitialized -Werror -fpic"
}
return 0
|