From bc50ed6c3de76c11b2dde92d0f28dd45941fc327 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 20 Aug 2023 19:02:03 +0200 Subject: Fix clang build - s/CLFAGS/CFLAGS/ - provide paths to local includes - sprinkle more __pass_object_size__ - remove a problematic test --- tests/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index c2bc378..8db2853 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -31,7 +31,6 @@ TARGETS= \ test_gethostname_static \ test_getlogin_r_dynamic \ test_getlogin_r_static \ - test_malloc \ test_memchr_dynamic_read \ test_memchr_static_read \ test_memcpy_dynamic_read \ @@ -103,7 +102,9 @@ gcc: clean all clang: CC=clang clang: GCOV=gcov clang: CFLAGS+=-I/usr/include/x86_64-linux-musl -clang: CLFAGS+=-nostdlib +clang: CFLAGS+=-I../x86_64-linux-musl-native/include/ +clang: CFLAGS+=-Ix86_64-linux-musl-native/include/ +clang: CFLAGS+=-nostdinc clang: clean all -- cgit v1.3