summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
00f3243)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1187
4a8a32a2-be11-0410-ad9d-
d568d2c75423
# 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
# 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