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

Two quick changes to make ninja compile on FreeBSD #5

Closed
wants to merge 2 commits into from
Closed

Two quick changes to make ninja compile on FreeBSD #5

wants to merge 2 commits into from

Conversation

Sec42
Copy link

@Sec42 Sec42 commented Feb 7, 2011

a) the "T" flag for ar makes g++ complain about the format of that library and fail. I think it can be removed without problems.
b) the backtrace() function does not exist. It could be made conditional on some #define, but I'm not sure that's needed...

@gblach
Copy link
Contributor

gblach commented Feb 8, 2011

On FreeBSD backtrace() function is available in devel/libexecinfo port.
so -lexecinfo flag for g++ is better in my opinion.

@gblach
Copy link
Contributor

gblach commented Feb 10, 2011

'ar' command on FreeBSD 7.3 and bellow don't support 'T' flag. But I don't check 7.4-RC3 release yet.

@evmar
Copy link
Collaborator

evmar commented Mar 5, 2011

I have removed both the backtrace use and the T flag. Sorry for the delay, I wanted to think about both changes before committing to them.

Thanks for the report!

This pull request was closed.
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.

3 participants