| 1 |
root |
1.1 |
# hints/interix.sh |
| 2 |
|
|
# |
| 3 |
|
|
# Please check with tech-pkg@netbsd.org before making modifications |
| 4 |
|
|
# to this file. |
| 5 |
|
|
|
| 6 |
|
|
cc='gcc' |
| 7 |
|
|
cccdlflags="-DPIC $cccdlflags" |
| 8 |
|
|
ccdlflags='-Wl,-E' |
| 9 |
|
|
ccflags="-D_ALL_SOURCE $ccflags" |
| 10 |
|
|
d_poll="$undef" |
| 11 |
|
|
ld='gcc' |
| 12 |
|
|
lddlflags="-shared $lddlflags" |
| 13 |
|
|
rpathflag='-Wl,-R' |
| 14 |
|
|
sharpbang='#!' |
| 15 |
|
|
usemymalloc='false' |
| 16 |
|
|
usenm='false' |
| 17 |
|
|
|
| 18 |
|
|
# This script UU/usethreads.cbu will get 'called-back' by Configure |
| 19 |
|
|
# after it has prompted the user for whether to use threads. |
| 20 |
|
|
cat > UU/usethreads.cbu <<'EOCBU' |
| 21 |
|
|
case "$usethreads" in |
| 22 |
|
|
$define|true|[yY]*) |
| 23 |
|
|
ccflags="-D_REENTRANT $ccflags" |
| 24 |
|
|
libswanted="$libswanted pthread" |
| 25 |
|
|
;; |
| 26 |
|
|
esac |
| 27 |
|
|
EOCBU |