]> git.sesse.net Git - vlc/blobdiff - Makefile.opts.in
* FreeBSD compilation fix, by �yvind Kolbu.
[vlc] / Makefile.opts.in
index d823003ac205109e4340604b7ac8f7920eef10b6..2080552f5658b6038faa24ed77dc4a091a5136c3 100644 (file)
@@ -199,6 +199,10 @@ ifneq (,$(findstring mingw32,$(SYS)))
 CFLAGS += -fnative-struct -D_OFF_T_ -D_off_t=long
 endif
 
+ifneq (,$(findstring bsd,$(SYS)))
+CFLAGS += -pthread
+endif
+
 # Optimizations : don't compile debug versions with them
 ifeq ($(OPTIMS),1)
 CFLAGS += -O3