Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix openssl package finding issue in mac #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zyearn
Copy link
Member

@zyearn zyearn commented Apr 8, 2020

No description provided.

@EricPengShuai
Copy link

you can also fix the __const__ compile error in gcc version >= 11.2.0 (see apache/brpc#1693)
just set CMAKE_CXX_FLAGS line 52 like this: change -D__const__= to -D__const__=__unused__

set(CMAKE_CXX_FLAGS "${CMAKE_CPP_FLAGS} -DNDEBUG -O2 -D__const__=__unused__ -pipe -W -Wall -Wno-unused-parameter -fPIC -fno-omit-frame-pointer")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants