summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorjvoisin2023-08-20 19:02:03 +0200
committerjvoisin2023-08-20 20:51:19 +0200
commitbc50ed6c3de76c11b2dde92d0f28dd45941fc327 (patch)
tree7cedd350931edc1ebcd23aeefd8cce3a8750c7a8 /tests/Makefile
parentc17d47669ff12057f732f9ae3f69b22d52b4c6b5 (diff)
Fix clang build
- s/CLFAGS/CFLAGS/ - provide paths to local includes - sprinkle more __pass_object_size__ - remove a problematic test
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index c2bc378..8db2853 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -31,7 +31,6 @@ TARGETS= \
31 test_gethostname_static \ 31 test_gethostname_static \
32 test_getlogin_r_dynamic \ 32 test_getlogin_r_dynamic \
33 test_getlogin_r_static \ 33 test_getlogin_r_static \
34 test_malloc \
35 test_memchr_dynamic_read \ 34 test_memchr_dynamic_read \
36 test_memchr_static_read \ 35 test_memchr_static_read \
37 test_memcpy_dynamic_read \ 36 test_memcpy_dynamic_read \
@@ -103,7 +102,9 @@ gcc: clean all
103clang: CC=clang 102clang: CC=clang
104clang: GCOV=gcov 103clang: GCOV=gcov
105clang: CFLAGS+=-I/usr/include/x86_64-linux-musl 104clang: CFLAGS+=-I/usr/include/x86_64-linux-musl
106clang: CLFAGS+=-nostdlib 105clang: CFLAGS+=-I../x86_64-linux-musl-native/include/
106clang: CFLAGS+=-Ix86_64-linux-musl-native/include/
107clang: CFLAGS+=-nostdinc
107clang: clean all 108clang: clean all
108 109
109 110