summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-11-23 12:24:26 -0800
committerKristian Høgsberg <krh@bitplanet.net>2013-11-23 12:24:43 -0800
commit5a019e38a1316a31072a9cb6de8da4377f3cfad5 (patch)
treefde0acaf100dbd31cd5919e62ad973f54edb70fc
parent360dca517a8ae58f9709420b0570b4e36a1ffa3f (diff)
Add -pthread to AM_CFLAGS to do the right thing when using threads
https://bugs.freedesktop.org/show_bug.cgi?id=71633
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index fb2df1c..15f44a5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -36,7 +36,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = wayland-client.pc wayland-server.pc
AM_CPPFLAGS = $(FFI_CFLAGS)
-AM_CFLAGS = $(GCC_CFLAGS)
+AM_CFLAGS = $(GCC_CFLAGS) -pthread
protocoldir = $(top_srcdir)/protocol