diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-08-25 22:27:47 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-08-25 23:59:25 +0200 |
commit | 23d581cdae14f8204aee903a3cbf9f02d65325db (patch) | |
tree | 3d929e46095e6c5ec35d0095416feed79b6495f2 /dev-util/statifier/files | |
parent | games-engines/odamex: Drop old 0.8.2 (diff) | |
download | gentoo-23d581cdae14f8204aee903a3cbf9f02d65325db.tar.gz gentoo-23d581cdae14f8204aee903a3cbf9f02d65325db.tar.bz2 gentoo-23d581cdae14f8204aee903a3cbf9f02d65325db.zip |
dev-util/statifier: fix compilation with clang
Closes: https://bugs.gentoo.org/730732
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util/statifier/files')
-rw-r--r-- | dev-util/statifier/files/statifier-1.7.4-clang.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-util/statifier/files/statifier-1.7.4-clang.patch b/dev-util/statifier/files/statifier-1.7.4-clang.patch new file mode 100644 index 000000000000..39905eca57f8 --- /dev/null +++ b/dev-util/statifier/files/statifier-1.7.4-clang.patch @@ -0,0 +1,14 @@ +--- a/src/end.S ++++ b/src/end.S +@@ -39,6 +39,10 @@ + * to the register_size boundary but to 16 boundary. + * Also as gcc's man say, that 16 is maximum alignment. So, i use it. + */ +- .org . + ((16 - (. % 16 )) % 16) ++#if defined(__clang__) ++# define E(BASE, X) ++#else ++# define E(BASE, X) .org . + ((16 - (. % 16 )) % 16) ++#endif + data: + |