X-Git-Url: https://git.ralfj.de/osspd.git/blobdiff_plain/84b4428bc830cbd408a2efadf1b74282aca4a47a..6aa43f6595ef8bf4d361362ae1e1e3953d9c3149:/debian/patches/0005-Add-pthread-compiler-and-linker-flag.patch diff --git a/debian/patches/0005-Add-pthread-compiler-and-linker-flag.patch b/debian/patches/0005-Add-pthread-compiler-and-linker-flag.patch new file mode 100644 index 0000000..f2e4424 --- /dev/null +++ b/debian/patches/0005-Add-pthread-compiler-and-linker-flag.patch @@ -0,0 +1,25 @@ +From: Ralf Jung +Date: Sat, 11 May 2013 14:24:17 +0200 +Subject: Add -pthread compiler and linker flag + +(based on patch in Ubuntu by Logan Rosen ) +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 236176e..11f2836 100644 +--- a/Makefile ++++ b/Makefile +@@ -2,9 +2,9 @@ + # DESTDIR is completely respected + CC := gcc + AR := ar +-CFLAGS := -Wall $(CFLAGS) $(CPPFLAGS) ++CFLAGS := -Wall -pthread $(CFLAGS) $(CPPFLAGS) + XLDFLAGS := $(LDFLAGS) +-LDFLAGS := -L. -lossp $(LDFLAGS) ++LDFLAGS := -L. -lossp -pthread $(LDFLAGS) + prefix := /usr/local + DESTDIR := + UDEVDIR := /etc/udev/rules.d