diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2020-07-28 21:14:16 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2020-07-28 21:14:16 +0000 |
commit | a03e7112bcf030e00ca9a9e6081fee4e42928915 (patch) | |
tree | 3d6996395b99c80a8ad6fb8eb9419ded1f3762f1 /net/haproxy/files | |
parent | deskutils/timewarrior: update to 1.3.0 (diff) |
Try to fix i386 builds: use GCC and -march=i586
to fix undefined symbol: __atomic_fetch_add_8.
PR: 248289
Reported by: Victor Sudakov <vas@sibptus.ru>
Diffstat (limited to 'net/haproxy/files')
-rw-r--r-- | net/haproxy/files/patch-include-haproxy-atomic.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/haproxy/files/patch-include-haproxy-atomic.h b/net/haproxy/files/patch-include-haproxy-atomic.h deleted file mode 100644 index d8b7c8ea15cb..000000000000 --- a/net/haproxy/files/patch-include-haproxy-atomic.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/haproxy/atomic.h.orig 2018-02-17 18:17:22.219400000 +0000 -+++ include/haproxy/atomic.h 2018-02-17 18:18:44.598422000 +0000 -@@ -104,7 +104,7 @@ extern THREAD_LOCAL unsigned long tid_bit; /* The bit - /* TODO: thread: For now, we rely on GCC builtins but it could be a good idea to - * have a header file regrouping all functions dealing with threads. */ - --#if defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__) -+#if (defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__)) || (defined(__clang__) && defined(__i386__)) - /* gcc < 4.7 */ - - #define HA_ATOMIC_ADD(val, i) __sync_add_and_fetch(val, i) |