From 891c747d1175aa7eb92cf5c6c97ffc863e4d9aab Mon Sep 17 00:00:00 2001 From: HiveBeats Date: Tue, 8 Aug 2023 13:10:37 +0400 Subject: [PATCH] fix: compiler script --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index baedf44..bbb3c38 100644 --- a/build.sh +++ b/build.sh @@ -1,3 +1,3 @@ #!/bin/bash -CC="clang++" -$CC -std=c++17 -I./inc/ ./src/SeeSynth.cpp ./src/Application.cpp ./src/Renderer.cpp ./src/Synth.cpp ./src/Oscillator.cpp -lm -lraylib -o ./bin/main +CC="${CXX:-c++}" +$CC -Wall -std=c++17 -I./inc/ ./src/SeeSynth.cpp ./src/Application.cpp ./src/Renderer.cpp ./src/Synth.cpp ./src/Oscillator.cpp -lm -lraylib -o ./bin/main