diff options
author | Todd Vierling <tv@duh.org> | 2005-01-21 14:36:31 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-01-21 15:26:10 +0000 |
commit | 0c52c6a9db5934c6cadc50a4a66634da7bea4268 (patch) | |
tree | 6c036a9286ff115e1571ab88a6f3c255be6b34ec /hints | |
parent | 46fcf6af865510acbf782947f6b836299b8cc42d (diff) | |
download | perl-0c52c6a9db5934c6cadc50a4a66634da7bea4268.tar.gz |
[perl #33892] Add Interix support
From: Todd Vierling (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33892-106280.17.6407478352545@perl.org>
(except the Configure chunk)
(and bump version numbers of modules)
p4raw-id: //depot/perl@23849
Diffstat (limited to 'hints')
-rw-r--r-- | hints/interix.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hints/interix.sh b/hints/interix.sh new file mode 100644 index 0000000000..74f5a52d2d --- /dev/null +++ b/hints/interix.sh @@ -0,0 +1,26 @@ +# hints/interix.sh +# +# Please check with tech-pkg@netbsd.org before making modifications +# to this file. + +cc='gcc' +cccdlflags="-DPIC $cccdlflags" +ccdlflags='-Wl,-E' +ccflags="-D_ALL_SOURCE $ccflags" +d_poll="$undef" +ld='gcc' +lddlflags="-shared $lddlflags" +rpathflag='-Wl,-R' +sharpbang='#!' +usenm='false' + +# This script UU/usethreads.cbu will get 'called-back' by Configure +# after it has prompted the user for whether to use threads. +cat > UU/usethreads.cbu <<'EOCBU' +case "$usethreads" in +$define|true|[yY]*) + ccflags="-D_REENTRANT $ccflags" + libswanted="$libswanted pthread" + ;; +esac +EOCBU |