--- Makefile.orig 2010-03-30 17:06:21.000000000 +0200 +++ Makefile 2010-03-30 17:06:57.000000000 +0200 @@ -81,11 +81,11 @@ freebsd: $(MAKE) target=FreeBSD \ - CC=gcc CXX='$(CC)' \ - CFLAGS='-fomit-frame-pointer -m486 -O3 -Wall' \ - CXFLAGS='-fomit-frame-pointer -m486 -O3 -Wall' \ - LDFLAGS=$(LDFLAGS) \ - opt='$(opt) -DINLINE32' \ + CC='$(CC)' CXX='$(CC)' \ + CFLAGS='$(CFLAGS) -fomit-frame-pointer -O3 -Wall' \ + CXFLAGS='$(CXXFLAGS) -fomit-frame-pointer -O3 -Wall' \ + LDFLAGS='$(LDFLAGS) -pthread -lstdc++' \ + opt='$(opt)' \ crafty-make freebsd-pgcc: