Copy libc compat files rather than adding into the repository
- remove the CP_LIBC files from repo - move tests/memmem.c to tests/compat/
This commit is contained in:
@@ -156,7 +156,7 @@ if(NOT CMAKE_HOST_WIN32)
|
||||
if(HAVE_MEMMEM)
|
||||
add_executable(explicit_bzero explicit_bzero.c)
|
||||
else()
|
||||
add_executable(explicit_bzero explicit_bzero.c memmem.c)
|
||||
add_executable(explicit_bzero explicit_bzero.c compat/memmem.c)
|
||||
endif()
|
||||
target_link_libraries(explicit_bzero ${TESTS_LIBS})
|
||||
add_test(explicit_bzero explicit_bzero)
|
||||
|
Reference in New Issue
Block a user