aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-11 02:47:17 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-11 02:47:17 +0200
commit1ca4dcfbdb38a41316b6013cb4090ecf03bf4994 (patch)
tree285045adafc7761c2d9b673a0984523d4e2d1908 /build.sh
parent1a4e0aff72b1766a63328543dd09b91a2f7148b6 (diff)
Tune quality again, remove vbr
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 9356219..62bb59a 100755
--- a/build.sh
+++ b/build.sh
@@ -1,8 +1,8 @@
#!/bin/sh -e
dependencies="libavcodec libavformat libavutil x11 xcomposite libpulse libswresample"
-includes="$(pkg-config --cflags $dependencies) -Iexternal"
+includes="$(pkg-config --cflags $dependencies)"
libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
-g++ -c src/sound.cpp -O2 $includes
-g++ -c src/main.cpp -O2 $includes
+g++ -c src/sound.cpp -O2 -g0 -DNDEBUG $includes
+g++ -c src/main.cpp -O2 -g0 -DNDEBUG $includes
g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs