Skip to content

Conversation

@johannesring
Copy link
Contributor

This PR adds auto detection of the address-model (32/64 bits) for Boost. The old parameter address_model will override the auto detection (maybe needed for cross compilation).

@certik
Copy link
Member

certik commented Jun 29, 2015

I've never heard of getconf before. But getconf LONG_BIT works on RHEL6 as well as on OS X 10.10, so I think this PR should work (I haven't tested).

+1

@johannesring
Copy link
Contributor Author

I hadn't heard about it either. I was thinking about using uname -m but that does not work for instance inside a chroot, while getopt LONG_BIT does.

johannesring added a commit that referenced this pull request Jun 30, 2015
@johannesring johannesring merged commit 5403dd4 into master Jun 30, 2015
@johannesring johannesring deleted the johannr/boost-address_model branch June 30, 2015 12:06
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