summaryrefslogtreecommitdiff
path: root/dev-util/statifier/files/statifier-1.7.4-clang.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /dev-util/statifier/files/statifier-1.7.4-clang.patch
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
Diffstat (limited to 'dev-util/statifier/files/statifier-1.7.4-clang.patch')
-rw-r--r--dev-util/statifier/files/statifier-1.7.4-clang.patch14
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:
+