| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
|
|
|
|
|
| |
Auto detection was based on parsing gcc's output so we have to
ensure that it is always 'C'.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
| |
|
|
|
|
|
| |
This only touches newlines, spaces, and (occaisionally) commas. Anything
else is left for another commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a helper for the common pattern of:
args_to_use = []
foreach arg : candidate_args
if cc.has_argument(arg)
args_to_use += arg
endif
endforeach
Replaced with:
args_to_use = cc.get_supported_arguments(candidate_args)
|
|
|
|
|
|
|
|
|
| |
In version 3.6.0, clang added -Wignored-optimization-argument. Without
setting this flag to -Werror, "ignored optimization arguments" such as
(for example) -fpeel-loops, are accepted but warned about, leading to
noisy builds if meson thinks the flag is supported.
See also #755
|
|
|
|
|
|
|
|
| |
In addition to filtering libs out while generating the command-line, we
must also filter them out in find_library() otherwise these libs will be
detected as "found" on Windows with MSVC.
Closes https://github.com/mesonbuild/meson/issues/1509
|
|
|
|
| |
Closes https://github.com/mesonbuild/meson/issues/2096
|
|\ |
|
| |
| |
| |
| | |
that are used in the build tree but will be removed on install.
|
|/
|
|
|
|
|
|
|
|
|
| |
This commit amends 04a2e6de making
linker.get_std_shared_lib_link_args() always return -shared for
SharedLibrary(es) instead of -bundle. SharedModule(s) get linked with
linker.get_std_shared_module_link_args() which already correctly returns
-bundle.
Before this change -bundle and -install_name ended up being emitted
for Objective-C shared libraries, which caused a linking error.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
profile guide optimization -> profile guided optimization
|
|
|
|
|
| |
Linking a library from a directory below the executable's directory caused
an invalid path to be written in the executable's RPATH.
|
| |
|
|
|
|
|
| |
A path was missing from a call to os.path.relpath when handling rpaths.
Fix this by assuming empty target directory means build root.
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
| |
Use this when we print language-related information to the console and
via the Ninja backend.
|
| |
|
|
|