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
3afac97f
Unverified
Commit
3afac97f
authored
Oct 29, 2018
by
Ge Jun
Committed by
GitHub
Oct 29, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #545 from choleraehyq/patch-1
Makefile: fix for high version protobuf
parents
8e7db45f
72160e71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+2
-2
No files found.
Makefile
View file @
3afac97f
...
...
@@ -223,9 +223,9 @@ clean_debug:
protoc-gen-mcpack
:
src/idl_options.pb.cc src/mcpack2pb/generator.o libbrpc.a
@
echo
"Linking
$@
"
ifeq
($(SYSTEM),Linux)
@$(CXX)
-o
$@
$(HDRPATHS)
$(LIBPATHS)
-Xlinker
"-("
$^
-Wl,-Bstatic
$(STATIC_LINKINGS)
-Wl,-Bdynamic
-Xlinker
"-)"
$(DYNAMIC_LINKINGS)
@$(CXX)
-o
$@
$(HDRPATHS)
$(LIBPATHS)
-
std
=
c++0x
-
Xlinker
"-("
$^
-Wl
,-Bstatic
$(STATIC_LINKINGS)
-Wl
,-Bdynamic
-Xlinker
"-)"
$(DYNAMIC_LINKINGS)
else
ifeq
($(SYSTEM),Darwin)
@$(CXX)
-o
$@
$(HDRPATHS)
$(LIBPATHS)
$^
$(STATIC_LINKINGS)
$(DYNAMIC_LINKINGS)
@$(CXX)
-o
$@
$(HDRPATHS)
$(LIBPATHS)
-std
=
c++0x
$^
$(STATIC_LINKINGS)
$(DYNAMIC_LINKINGS)
endif
# force generation of pb headers before compiling to avoid fail-to-import issues in compiling pb.cc
...
...
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