Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
9a826ef9
Commit
9a826ef9
authored
Aug 21, 2017
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test/Makefile according to previous commit
parent
91be5946
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
Makefile
test/Makefile
+12
-2
No files found.
test/Makefile
View file @
9a826ef9
...
...
@@ -7,8 +7,18 @@ CPPFLAGS+=-DUNIT_TEST -Dprivate=public -Dprotected=public -DBVAR_NOT_LINK_DEFAUL
CXXFLAGS
=
$(CPPFLAGS)
-g
-pipe
-Wall
-W
-fPIC
-fstrict-aliasing
-Wno-invalid-offsetof
-Wno-unused-parameter
-fno-omit-frame-pointer
-std
=
c++0x
CFLAGS
=
$(CPPFLAGS)
-g
-pipe
-Wall
-W
-fPIC
-fstrict-aliasing
-Wno-unused-parameter
-fno-omit-frame-pointer
ifeq
($(shell
test
$(shell
$(CXX)
-dumpversion
|
sed
-e
's/\..*$$//g'
)
-ge
7;
echo
$$?),0)
CXXFLAGS
+=
-Wno-aligned-new
# strict-aliasing in gcc4.4 in buggy
ifeq
($(shell
echo
$$(($(GCC_VERSION)/
100))),
404)
CXXFLAGS
+=
-Wno-strict-aliasing
CFLAGS
+=
-Wno-strict-aliasing
endif
#required by base/crc32.cc to boost performance for 10x
ifeq
($(shell
test
$(GCC_VERSION)
-ge
40400;
echo
$$?),0)
CXXFLAGS
+=
-msse4
-msse4
.2
endif
#not solved yet
ifeq
($(shell
test
$(GCC_VERSION)
-ge
70000;
echo
$$?),0)
CXXFLAGS
+=
-Wno-aligned-new
endif
HDRPATHS
=
-I
.
-I
..
-I
../src
$
(
addprefix
-I
,
$(HDRS)
)
...
...
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