Skip to content
Snippets Groups Projects
Commit 0bf2a1a3 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge branch 'master' of github.com:tarantool/tarantool

parents 26a2a49e 6270678e
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,14 @@ endif()
if((NOT HAVE_STD_C11 AND NOT HAVE_STD_GNU99) OR
(NOT HAVE_STD_CXX11 AND NOT HAVE_STD_GNUXX0X))
set(CMAKE_REQUIRED_FLAGS "-std=c11")
check_c_source_compiles("int main(void) { return 0; }" HAVE_STD_C11)
check_c_source_compiles("
/*
* FreeBSD 10 ctype.h header fail to compile on gcc4.8 in c11 mode.
* Make sure we aren't affected.
*/
#include <ctype.h>
int main(void) { return 0; }
" HAVE_STD_C11)
set(CMAKE_REQUIRED_FLAGS "-std=gnu99")
check_c_source_compiles("int main(void) { return 0; }" HAVE_STD_GNU99)
set(CMAKE_REQUIRED_FLAGS "-std=c++11")
......
......@@ -170,6 +170,7 @@ macro(luajit_build)
CFLAGS=""
CXXFLAGS=""
XCFLAGS="${luajit_xcflags}"
CC="${luajit_host_cc}"
HOST_CC="${luajit_host_cc}"
TARGET_CC="${luajit_target_cc}"
CCOPT="${luajit_copt}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment