blob: 5e4e152c95193a003a9450fc7ac6702c6f1f634a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-hints_cygwin.sh,v 1.1 2013/04/23 12:22:36 obache Exp $
* prevent to use C++ by default.
--- hints/cygwin.sh.orig 2013-03-04 15:16:22.000000000 +0000
+++ hints/cygwin.sh
@@ -39,7 +39,7 @@ archname='cygwin'
# - otherwise -fpic
cccdlflags=' '
lddlflags=' --shared'
-test -z "$ld" && ld='g++'
+test -z "$ld" && ld="$cc"
case "$osvers" in
# Configure gets these wrong if the IPC server isn't yet running:
|