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

Add target to build the Abseil C++ library. #379

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

Conversation

qwattash
Copy link
Contributor

Note that at this time support of the library is considered unstable and we disable -Werror for cheri-capability-misuse.

Note that at this time support of the library is considered
unstable and we disable -Werror for cheri-capability-misuse.
# Enable tests for debug builds but not for production builds.
# In this way, the production version will have rtti.
if self.build_type.is_debug:
self.CXXFLAGS.append("-fno-rtti")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this only under debug?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the library works fine without -fno-rtti, the tests are triggering the build error with RTTI though.

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