[go: nahoru, domu]

Skip to content

Commit

Permalink
Use -Wno-error instead of specifying individual warnings.
Browse files Browse the repository at this point in the history
The `stringop-overread` warning was added relatively recently, and
specifying it individually was preventing CRAS from building on focal.

This allows CRAS to build on sid, focal, kali-rolling, and impish.
  • Loading branch information
myelin committed Jan 8, 2022
1 parent 811f5e4 commit 484739d
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-error=attributes -Wno-error=maybe-uninitialized -Wno-error=stringop-overread"
CFLAGS="$CFLAGS -Wno-int-in-bool-context -DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\" -Wno-error"
buildlib libcras
Expand Down

0 comments on commit 484739d

Please sign in to comment.