alpine-repo/sakamoto/stb/drop-cpp-test.patch

25 lines
981 B
Diff

From 45e68a16dfb11b37100e6e54c753be6dee7d873b Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
Date: Mon, 4 Apr 2022 17:46:42 +0200
Subject: [PATCH] drop cpp test
---
tests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile b/tests/Makefile
index 1782ea6..f771a19 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -7,6 +7,6 @@ CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST
all:
$(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c test_c_lexer.c test_dxt.c test_easyfont.c test_image.c test_image_write.c test_perlin.c test_sprintf.c test_truetype.c test_voxel.c -lm
- $(CC) $(INCLUDES) $(CPPFLAGS) -std=c++0x test_cpp_compilation.cpp -lm -lstdc++
+ #$(CC) $(INCLUDES) $(CPPFLAGS) -std=c++0x test_cpp_compilation.cpp -lm -lstdc++
$(CC) $(INCLUDES) $(CFLAGS) -DIWT_TEST image_write_test.c -lm -o image_write_test
$(CC) $(INCLUDES) $(CFLAGS) fuzz_main.c stbi_read_fuzzer.c -lm -o image_fuzzer
--
2.35.1