Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Disable -fPIC when building termcap on Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
embray committed Jul 6, 2016
1 parent ea62369 commit 3302dc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/pkgs/termcap/spkg-install
Expand Up @@ -6,7 +6,10 @@ if [ "$SAGE_LOCAL" = "" ]; then
exit 1
fi

CFLAGS="-O2 -g -fPIC $CFLAGS"
if [ "$UNAME" != "CYGWIN" ]; then
CFLAGS="-fPIC $CFLAGS"
fi
CFLAGS="-O2 -g $CFLAGS"

if [ "x$SAGE64" = xyes ]; then
CFLAGS="$CFLAGS -m64"
Expand Down

0 comments on commit 3302dc8

Please sign in to comment.