[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request dnschneid#4316 from jichu4n/fix-cras
Browse files Browse the repository at this point in the history
Re-apply workaround for CRAS compilation error (issue dnschneid#3352)
  • Loading branch information
dnschneid committed Jul 24, 2020
2 parents e882116 + e6aaa6f commit d707170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion targets/audio
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ END
{
convert_automake

# Note: -Wno-int-in-bool-context is necessary for building CRAS on
# older ChromeOS versions (issue #3352).
echo '
CFLAGS="$CFLAGS -DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\""
CFLAGS="$CFLAGS -Wno-int-in-bool-context -DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\""
buildlib libcras
Expand Down

0 comments on commit d707170

Please sign in to comment.