From 20f2625f9832504661774b8a9f6661188fd97716 Mon Sep 17 00:00:00 2001 From: talha Date: Tue, 12 Mar 2024 23:46:34 +0500 Subject: Switched to clang on linux, updated shader to allow interactively tweaking specular lighting properties --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index b9c1793..815dccc 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ build_opts="$build_dir/main" lib_path="lib/SDL2" link_opts="-L $lib_path -lSDL2" -build_command="g++ -g -Og $include_opts $files $link_opts -o $build_opts" +build_command="clang++ -std=c++11 -g -Og $include_opts $files $link_opts -o $build_opts" printf "Building your sdl2 project.\n\nThis is the build command for posteritys' sake:\n\n" printf "$build_command\n\n" -- cgit v1.2.3