Permalink
Browse files

NetBSD needs -fPIC (sourceforce-178).

  • Loading branch information...
1 parent ac184f5 commit cc3c5938c35b8c65ec45d964b5d74f3e52475fba @ddennedy ddennedy committed Nov 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure
View
@@ -111,7 +111,7 @@ build_config()
NetBSD)
[ "$optimisations" = "true" ] &&
echo "OPTIMISATIONS+=-ffast-math"
- echo "CFLAGS+=-pthread"
+ echo "CFLAGS+=-fPIC -pthread"
echo "SHFLAGS=-shared"
echo "RDYNAMIC=-rdynamic"
echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"

0 comments on commit cc3c593

Please sign in to comment.