Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
378b6405
Unverified
Commit
378b6405
authored
Apr 16, 2020
by
Christian Brauner
Committed by
Stéphane Graber
Apr 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: fix coverity builds
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
f2f25719
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
configure.ac
configure.ac
+16
-3
log.h
src/lxc/log.h
+1
-0
No files found.
configure.ac
View file @
378b6405
...
...
@@ -766,11 +766,23 @@ AC_ARG_ENABLE([thread-safety],
[AS_HELP_STRING([--enable-thread-safety], [enforce thread-safety otherwise fail the build [default=yes]])],
[enable_thread_safety=$enableval], [enable_thread_safety=yes])
AM_CONDITIONAL([ENFORCE_THREAD_SAFETY], [test "x$enable_thread_safety" = "xyes"])
if test "x$enable_thread_safety" = "xyes"; then
AC_DEFINE([ENFORCE_THREAD_SAFETY], 1, [enforce thread-safety otherwise fail the build])
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_ARG_ENABLE([coverity-build],
[AS_HELP_STRING([--enable-coverity-build], [
handle coverity builds
[default=no]])],
[enable_coverity_build=$enableval], [enable_coverity_build=
yes
])
[AS_HELP_STRING([--enable-coverity-build], [
build for use with Coverity
[default=no]])],
[enable_coverity_build=$enableval], [enable_coverity_build=
no
])
AM_CONDITIONAL([ENABLE_COVERITY_BUILD], [test "x$enable_coverity_build" = "xyes"])
if test "x$enable_coverity_build" = "xyes"; then
AC_DEFINE([ENABLE_COVERITY_BUILD], 1, [build for use with Coverity])
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_ARG_ENABLE([dlog],
[AS_HELP_STRING([--enable-dlog], [enable dlog support [default=no]])],
...
...
@@ -1042,9 +1054,10 @@ Documentation:
- user documentation: $enable_doc
Debugging:
- tests: $enable_tests
- ASAN: $enable_asan
- Coverity: $enable_coverity_build
- mutex debugging: $enable_mutex_debugging
- tests: $enable_tests
Paths:
- Logs in configpath: $enable_configpath_log
...
...
src/lxc/log.h
View file @
378b6405
...
...
@@ -17,6 +17,7 @@
#include <time.h>
#include "conf.h"
#include "config.h"
#ifndef O_CLOEXEC
#define O_CLOEXEC 02000000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment