From c64bf3a6a8cb4bd29f5f6a724faf1657ad821f22 Mon Sep 17 00:00:00 2001 From: Thijs Withaar Date: Sat, 13 Jul 2013 10:56:07 +0200 Subject: [PATCH] make it multi-threaded fixes https://github.com/ssvb/xf86-video-sunxifb/issues/11 --- lib/ump/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ump/Makefile b/lib/ump/Makefile index d88160e..a65d57d 100644 --- a/lib/ump/Makefile +++ b/lib/ump/Makefile @@ -3,9 +3,10 @@ include ../../config.mk CFLAGS += -I../../include -I../../include/ump CFLAGS += -mthumb-interwork -fno-strict-aliasing -Wno-strict-aliasing -Wno-long-long +CFLAGS += -pthread CFLAGS += -Wall -O3 -fPIC -LDFLAGS += -Wl,--no-as-needed +LDFLAGS += -Wl,--no-as-needed -pthread -lpthread ifeq ($(MALI_EGL_TYPE),x11) LDFLAGS += -ldri2 -ldrm -lXfixes endif