Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
0bf2a1a3
Commit
0bf2a1a3
authored
9 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of github.com:tarantool/tarantool
parents
26a2a49e
6270678e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/compiler.cmake
+8
-1
8 additions, 1 deletion
cmake/compiler.cmake
cmake/luajit.cmake
+1
-0
1 addition, 0 deletions
cmake/luajit.cmake
with
9 additions
and
1 deletion
cmake/compiler.cmake
+
8
−
1
View file @
0bf2a1a3
...
...
@@ -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"
)
...
...
This diff is collapsed.
Click to expand it.
cmake/luajit.cmake
+
1
−
0
View file @
0bf2a1a3
...
...
@@ -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
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment