Multilib packaging helpers
Go to file
Pavel Raiskup 5d02c918d6 multilib-fix: document why not to use __WORDSIZE
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
2017-01-25 17:32:48 +01:00
.gitignore multilib-fix: initial commit 2016-06-13 23:52:52 +02:00
COPYING packaging for Fedora 2016-06-13 23:52:53 +02:00
macros.ml macros: add %multilib_capable macro 2016-06-22 13:21:40 +02:00
multilib-fix multilib-fix: document why not to use __WORDSIZE 2017-01-25 17:32:48 +01:00
multilib-info macros: add %multilib_capable macro 2016-06-22 13:21:40 +02:00
multilib-library macros: add %multilib_capable macro 2016-06-22 13:21:40 +02:00
multilib-rpm-config.spec Fix testsuite on non-multilib arches 2016-07-02 08:34:52 +02:00
README fix typos in README 2016-06-13 23:52:54 +02:00
sources Initial setup of the repo 2016-06-13 21:12:55 +00:00

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/