File test-tools-do-not-override-cflags.patch of Package xxhash

From: Bruno Pitrus <brunopitrus@hotmail.com>
Date: 2024-05-05 19:35:03+0000

--- xxHash-0.8.2/Makefile.old	2023-07-21 12:01:35.000000000 +0200
+++ xxHash-0.8.2/Makefile	2024-05-05 21:19:32.265851133 +0200
@@ -450,8 +450,8 @@ test-all: test test32 test-unicode clang
 
 .PHONY: test-tools
 test-tools:
-	CFLAGS=-Werror $(MAKE) -C tests/bench
-	CFLAGS=-Werror $(MAKE) -C tests/collisions
+	$(MAKE) -C tests/bench
+	$(MAKE) -C tests/collisions
 
 .PHONY: test-xxh-nnn-sums
 test-xxh-nnn-sums: xxhsum_and_links
openSUSE Build Service is sponsored by