diff options
Diffstat (limited to 'debian/rules.d/scripts/mod/elfconfig.h')
-rw-r--r-- | debian/rules.d/scripts/mod/elfconfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules.d/scripts/mod/elfconfig.h b/debian/rules.d/scripts/mod/elfconfig.h new file mode 100644 index 000000000..8c90ea600 --- /dev/null +++ b/debian/rules.d/scripts/mod/elfconfig.h @@ -0,0 +1,7 @@ +#include <endian.h> + +#if __BYTE_ORDER == __LITTLE_ENDIAN +#define HOST_ELFDATA ELFDATA2LSB +#elif __BYTE_ORDER == __BIG_ENDIAN +#define HOST_ELFDATA ELFDATA2MSB +#endif |