diff options
| author | Michael Forney <mforney@mforney.org> | 2016-12-13 22:59:19 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-12-13 23:10:30 -0800 |
| commit | 42c07c42f885cd6a06fa61584d0c05fc34e4d45a (patch) | |
| tree | f3ea84de30605b432a6aa8be097f2ecdf0f487ea /rules.ninja | |
| parent | 8bf7f4ff20433ae0c7175121bcd4889ce9e9789c (diff) | |
alsa-lib: Remove snd_pcm_hwsync warning
alsa-lib calls this internally, producing a warning when linking any
binary with libasound.a. On a normal system, libasound.a is linked in
with -lasound, which seems to silence the warning. However, it is much
easier for us to just pass the whole path so instead remove the
offending warning section with objcopy.
Diffstat (limited to 'rules.ninja')
| -rw-r--r-- | rules.ninja | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.ninja b/rules.ninja index ae79edb1..972a641e 100644 --- a/rules.ninja +++ b/rules.ninja @@ -17,6 +17,9 @@ rule link rule ar command = rm -f $out && $ar crs $out $in +rule objcopy + command = $objcopy $objcopyflags $in $out + rule lines command = ln -f $rspfile $out rspfile = $out.tmp |
