|
Lines 170-176
Link Here
|
| 170 |
OPTIONS+=" --layout=system" |
170 |
OPTIONS+=" --layout=system" |
| 171 |
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)" |
171 |
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)" |
| 172 |
|
172 |
|
| 173 |
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1" |
173 |
if [[ ${CHOST} == *-winnt* ]] || [[ ${CHOST} == *-mingw* ]]; then |
|
|
174 |
OPTIONS+=" -sNO_BZIP2=1" |
| 175 |
OPTIONS+=" target-os=windows" |
| 176 |
if use threads; then |
| 177 |
# TODO: pthreads can still be available under Windows |
| 178 |
OPTIONS+=" threadapi=win32" |
| 179 |
fi |
| 180 |
fi |
| 174 |
} |
181 |
} |
| 175 |
|
182 |
|
| 176 |
multilib_src_compile() { |
183 |
multilib_src_compile() { |