Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e0ce6649
Commit
e0ce6649
authored
Jan 30, 2008
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile updates
git-svn-id:
file:///svn/tokudb@1972
c7de825b-a66e-492c-adef-691d508d4ae1
parent
84e7f1bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
src/lock_tree/Makefile
src/lock_tree/Makefile
+7
-2
src/lock_tree/tests/Makefile
src/lock_tree/tests/Makefile
+6
-1
No files found.
src/lock_tree/Makefile
View file @
e0ce6649
...
...
@@ -3,8 +3,13 @@
LIBNAME
=
liblocktree
OPTFLAGS
=
#-O2
# GCOV_FLAGS = -fprofile-arcs -ftest-coverage
OPTFLAGS
=
-O0
ifeq
($(GCOV),GCOV)
GCOV_FLAGS
=
-fprofile-arcs
-ftest-coverage
else
GCOV_FLAGS
=
endif
CFLAGS
=
-W
-Wall
-Werror
-g3
-ggdb3
-fPIC
$(OPTFLAGS)
$(GCOV_FLAGS)
CPPFLAGS
=
-I
.
-I
..
-I
../range_tree
-I
../../include
-I
../../newbrt
-L
../range_tree
CPPFLAGS
+=
-D_GNU_SOURCE
-D_THREAD_SAFE
-D_FILE_OFFSET_BITS
=
64
-D_LARGEFILE64_SOURCE
...
...
src/lock_tree/tests/Makefile
View file @
e0ce6649
...
...
@@ -6,6 +6,7 @@
# For very verbose output do
# make VERBOSE=2
OPTFLAGS
=
-O0
ifeq
($(OSX),OSX)
#Note: OSX 10.4 needs DYLD_LIBRARY_PATH. OSX 10.5 claims to support -rpath.
LIBEXT
=
dylib
...
...
@@ -23,7 +24,11 @@ else
endif
LIBNAME
=
librt.
$(LIBEXT)
# GCOV_FLAGS = -fprofile-arcs -ftest-coverage
ifeq
($(GCOV),GCOV)
GCOV_FLAGS
=
-fprofile-arcs
-ftest-coverage
else
GCOV_FLAGS
=
endif
CFLAGS
=
-Wall
-Werror
$(OPTFLAGS)
-g3
-ggdb3
$(GCOV_FLAGS)
CPPFLAGS
+=
-L
../
-L
../../range_tree
CPPFLAGS
+=
-I
.
-I
../
-I
../../range_tree
-I
../../../newbrt
-lpthread
...
...
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