[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request dnschneid#4658 from myelin/allow-cras-to-build
Browse files Browse the repository at this point in the history
Allow CRAS to compile by excluding some warnings from being treated as errors
  • Loading branch information
dnschneid committed Jan 8, 2022
2 parents 7da0cf8 + a2fed0e commit 5e0451d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets/audio
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ END
# Note: -Wno-int-in-bool-context is necessary for building CRAS on
# older ChromeOS versions (issue #3352).
echo '
CFLAGS="$CFLAGS -Wno-int-in-bool-context -DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\" -Wno-attributes"
CFLAGS="$CFLAGS -Wno-int-in-bool-context -DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\" -Wno-error=attributes -Wno-error=maybe-uninitialized -Wno-error=stringop-overread"
buildlib libcras
Expand Down

0 comments on commit 5e0451d

Please sign in to comment.