Commit a825b51
Respect LDFLAGS in memcmp_check (#958)
This check invokes the compiled executable and hence needs to link it.
CMake handles this via LDFLAGS but `cc` doesn't. In setups with custom
linker setups this could lead to a mismatch between the expected and the
actually used linker. Explicitly respecting LDFLAGS here brings us back
to parity with CMake.
Fixes #858 whose resolution is
not applicable if ignoring compiler warnings is not an option.
Co-authored-by: Aaron Siddhartha Mondal <aaron.mondal@gmail.com>1 parent f67e605 commit a825b51
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
605 | 617 | | |
606 | 618 | | |
607 | 619 | | |
| |||
0 commit comments