forked from OSchip/llvm-project
Use -std=gnu89 in tools/c-index-test/CMakeLists.txt
With the old use of -std=c89 off_t is not defined and the build fails. This seems to be another variation of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40278. llvm-svn: 198748
This commit is contained in:
parent
120dd1afaf
commit
cf63c0d2d8
|
@ -5,7 +5,7 @@ add_clang_executable(c-index-test
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
set_property(
|
set_property(
|
||||||
SOURCE c-index-test.c
|
SOURCE c-index-test.c
|
||||||
PROPERTY COMPILE_FLAGS "-std=c89"
|
PROPERTY COMPILE_FLAGS "-std=gnu89"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue