-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug #75722: Rework valgrind detection
As described in bug report #75722, the configure script (acinclude.m4) currently searches for the valgrind header file and enables valgrind support if found. When cross-compiling the searched paths are invalid for the target platform because they belong to the host system. At the moment, there is no way to tell the build system a dedicated path where to look for the header file. This leads to the issue, that when cross-compiling eg. for ARMv5 platform, that valgrind header file is detected - e.g. because host system is amd64 - and support is enabled - but target platform will never support valgrind (valgrind requires e.g. at least ARMv7). This change reworks the detection so that user could manually opt-in valgrind support and optionally specify a directory where the build system should look for the header file using the --with-valgrind option.
- Loading branch information
Showing
3 changed files
with
33 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters