summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-08 15:28:03 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-08 15:28:25 +0200
commit01e24f2cd0d3bea9dab9c6047648941d677dbcb6 (patch)
tree3c41378be132e988e43eb36d75f57752c599b1d0 /dev-libs/xxhash/files
parentnet-misc/youtube-dl: Old. (diff)
downloadgentoo-01e24f2cd0d3bea9dab9c6047648941d677dbcb6.tar.gz
gentoo-01e24f2cd0d3bea9dab9c6047648941d677dbcb6.tar.bz2
gentoo-01e24f2cd0d3bea9dab9c6047648941d677dbcb6.zip
dev-libs/xxhash: Compile xxhash.o once
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-libs/xxhash/files')
-rw-r--r--dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch b/dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch
new file mode 100644
index 00000000000..dcbc8c32dec
--- /dev/null
+++ b/dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -82,7 +82,7 @@
+ all: lib xxhsum xxhsum_inlinedXXH
+
+ xxhsum32: CFLAGS += -m32
+-xxhsum xxhsum32: xxhash.c xxhsum.c
++xxhsum xxhsum32: xxhash.o xxhsum.c
+ $(CC) $(FLAGS) $^ -o $@$(EXT)
+
+ .PHONY: xxhsum_and_links