Multilib packaging helpers
5d02c918d6
Fedora's PackagingDrafts/MultilibTricks suggests the following c-header wrapper example: #include <bits/wordsize.h> #if __WORDSIZE == 32 #include "config-32.h" #elif __WORDSIZE == 64 #include "config-64.h" #else #error "Unknown word size" #endif Installing and using this wrapper is not really no-op, however; it has been proven to cause include-ordering issues. So, even though the shorter stub works in most cases, document why we still prefer the longer #ifdef wrapper. Thanks to Vít Ondruch for pointing this out. Related: rhbz#1412274 |
||
---|---|---|
.gitignore | ||
COPYING | ||
macros.ml | ||
multilib-fix | ||
multilib-info | ||
multilib-library | ||
multilib-rpm-config.spec | ||
README | ||
sources |
This project contains set of RPM packaging helpers to make the multilib fixes centralized at one place for whole distribution. For more info have a look at: https://fedorahosted.org/fpc/ticket/312 https://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks https://bugzilla.redhat.com/show_bug.cgi?id=1286193 https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/F6YVSCNNFFFNEOQ4TN6BJOPJZ2KMPEOJ/