diff --git a/src/sbbs3/Makefile.gnu b/src/sbbs3/Makefile.gnu
index 526637490b832ecb3293d3d04329d37ccc0fc7ee..e15c4ec4f28f096b89f5a1000a870da2efa76a68 100644
--- a/src/sbbs3/Makefile.gnu
+++ b/src/sbbs3/Makefile.gnu
@@ -54,8 +54,8 @@ DELETE	=	rm -f -v
 OUTLIB	=	-o
 
 ifeq ($(os),freebsd)	# FreeBSD
+CFLAGS	:=	-DJAVASCRIPT -pthread
 LIBS	:=	-pthread
-CFLAGS	:=	-pthread
 else			        # Linux / Other UNIX
 CFLAGS	:=	-DJAVASCRIPT -I../mozilla/js/src
 LIBS	:=	$(LIBDIR)/libpthread.a