Use p4 preset on older gpus (kepler family) because of performance

with p7
This commit is contained in:
dec05eba
2022-10-11 18:57:09 +02:00
parent 1ca4dcfbdb
commit 9d185f3091
5 changed files with 94 additions and 36 deletions

View File

@@ -6,3 +6,4 @@ libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
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
echo "Successfully built gpu-screen-recorder"