diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7986bde..d6c82d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,7 +2,7 @@ project(libc-pthreads) cmake_minimum_required(VERSION 2.4.0) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -std=gnu11") include_directories(${CMAKE_SOURCE_DIR}/src/libc/darwin) include_directories(${CMAKE_SOURCE_DIR}/src/libc/derived)