Add missing -nostdinc

This commit is contained in:
Lubos Dolezel 2017-03-27 09:41:15 +02:00
parent e6dded6c6e
commit 8bef25f80c

View File

@ -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)