projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
little improvement of Cygwin-detection
[fw/sdcc]
/
sim
/
ucsim
/
configure.in
diff --git
a/sim/ucsim/configure.in
b/sim/ucsim/configure.in
index 90a20382e339fee030c2ea0fb91e0d22bc4cdd81..3e3977117727958cce18d04894570ebeb6477efc 100644
(file)
--- a/
sim/ucsim/configure.in
+++ b/
sim/ucsim/configure.in
@@
-287,7
+287,7
@@
fi
# If this is Cygwin neither use Position Independant Code
# nor build .so
# Quick + dirty by Bernhard
# If this is Cygwin neither use Position Independant Code
# nor build .so
# Quick + dirty by Bernhard
-if
gcc -v 2>&1 | grep -i cygwin > /dev/null
; then
+if
$CXX -v 2>&1 | grep -i cygwin 1>&5 2>&5
; then
PICOPT=""
SHAREDLIB="no"
fi
PICOPT=""
SHAREDLIB="no"
fi