Source: libzstd
Version: 1.3.3+dfsg-1
Severity: normal
Tags: patch
Usertags: riscv64

Here's a patch to fix FTBFS on riscv64.

Submitted upstream as, but as
this library has some interesting rbdeps, it'd be nice if you could apply
this without waiting for an official release.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: riscv64

Kernel: Linux 4.16.1+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
--- libzstd-1.3.3+dfsg.orig/contrib/pzstd/Makefile
+++ libzstd-1.3.3+dfsg/contrib/pzstd/Makefile
@@ -50,7 +50,7 @@ GTEST_LIB  = -L googletest/build/googlem
 LIBS       =
 # Compilation commands
-LD_COMMAND  = $(CXX) $^          $(ALL_LDFLAGS) $(LIBS) -lpthread -o $@
+LD_COMMAND  = $(CXX) $^          $(ALL_LDFLAGS) $(LIBS) -pthread -o $@
 CC_COMMAND  = $(CC)  $(DEPFLAGS) $(ALL_CFLAGS)   -c $<  -o $@

Reply via email to