[Rpm-maint] [rpm-software-management/rpm] RFE: macro for checking endianess (#365)

Jeff Johnson notifications at github.com
Sun Dec 3 10:54:50 UTC 2017


Presumably you are talking about an rpm macro since there are already C macros in <endian.h>.

I fail to see how knowing machine endianness in an rpm macro assists with packaging: patches could (and likely SHOULD) be written to include <endian.h> and test with a C macro rather than optionally applying a patch.

If you insist on adding Yet Another silly macro, please remember that endianness is now an executable, not a cpu, attribute. And that there are ways to change endianness at run-time and through emulators which are quite difficult to detect/implement correctly in rpmbuild.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/365#issuecomment-348755846
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171203/e35579f4/attachment.html>


More information about the Rpm-maint mailing list