Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch')
-rw-r--r--extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch b/extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch
new file mode 100644
index 00000000..7b2674c2
--- /dev/null
+++ b/extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch
@@ -0,0 +1,11 @@
+diff -rauN libatomic_ops-7.6.4/tests/Makefile.am libatomic_ops-7.6.4-libatomic-patch/tests/Makefile.am
+--- libatomic_ops-7.6.4/tests/Makefile.am 2018-03-27 09:06:11.000000000 +0000
++++ libatomic_ops-7.6.4-libatomic-patch/tests/Makefile.am 2018-07-18 19:39:32.145989353 +0000
+@@ -11,6 +11,7 @@
+ -I$(top_builddir)/tests -I$(top_srcdir)/tests
+
+ CFLAGS += $(CFLAGS_EXTRA)
++LDFLAGS += -latomic
+
+ TESTS = test_atomic$(EXEEXT) test_atomic_generalized$(EXEEXT) \
+ test_stack$(EXEEXT) test_malloc$(EXEEXT)