aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-08-13 01:55:56 +0200
committerdec05eba <dec05eba@protonmail.com>2023-08-13 01:55:56 +0200
commita253be38b789385e2a04bd1deff5623980ed67e2 (patch)
tree3c49250645d34648a204ba0dd7c2c0bafe4ce1ff /build.sh
parent26b54ff3e4507c51ef113c1a028305de0a520981 (diff)
kms vaapi: fix capture bug (incorrect video size) caused by shadowed variable...
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 28db825..6b3e35c 100755
--- a/build.sh
+++ b/build.sh
@@ -6,8 +6,8 @@ cd "$script_dir"
CC=${CC:-gcc}
CXX=${CXX:-g++}
-opts="-O2 -g0 -DNDEBUG -Wall -Wextra"
-[ -n "$DEBUG" ] && opts="-O0 -g3 -Wall -Wextra";
+opts="-O2 -g0 -DNDEBUG -Wall -Wextra -Wshadow"
+[ -n "$DEBUG" ] && opts="-O0 -g3 -Wall -Wextra -Wshadow";
build_wayland_protocol() {
wayland-scanner private-code external/wlr-export-dmabuf-unstable-v1.xml external/wlr-export-dmabuf-unstable-v1-protocol.c