debian/patches/link-atomic-if-needed.diff
raw| 1 | --- a/clang_delta/Makefile.am |
| 2 | +++ b/clang_delta/Makefile.am |
| 3 | @@ -131,7 +131,7 @@ clang_delta_LDADD = \ |
| 4 | -lclang-cpp \ |
| 5 | $(LLVMLIBS) \ |
| 6 | $(CLANG_LDFLAGS) \ |
| 7 | - $(LLVMLDFLAGS) |
| 8 | + $(LLVMLDFLAGS) $(LIBATOMIC) |
| 9 | |
| 10 | # Automake doesn't grok our use of $(shell) in `clang_delta_LDADD', so it puts |
| 11 | # $(LLVMLIBS) in the dependencies by default. To avoid this problem, we must |