Clang defines LP64 on such platforms, but not ILP32. Use
SIZEOF_LONG to detect long bits instead.
Details
Details
- Reviewers
bapt bdrewery mat - Commits
- rP418837: dwarves: Fix build on !__LP64__
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
For example, see:
http://package19.nyi.freebsd.org/build.html?mastername=103i386-default-build-as-user&build=418756
This is because the __ILP32__ define was only added on CURRENT in the stable/11 time frame. It doesn't exist on stable/10 or stable/9. Meanwhile, SIZEOF_LONG has existed since r210299 (predates stable/9).
Thanks for reviewing.
Comment Actions
I just ask because a runtime failure would have mean a bump of the port revision, but a build fix does not need one