From d11c62aa5ed290fae93cf287866b0a122a613063 Mon Sep 17 00:00:00 2001 From: adler3d Date: Thu, 1 Jun 2017 15:50:33 +0400 Subject: [PATCH] Update build.sh --- src/platform/nix/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/nix/build.sh b/src/platform/nix/build.sh index 9ebf532..000092d 100755 --- a/src/platform/nix/build.sh +++ b/src/platform/nix/build.sh @@ -1,2 +1,3 @@ +set -e clang++ -std=c++11 -Os -s -fno-exceptions -fno-rtti -ffunction-sections -fdata-sections -Wl,--gc-sections -DNDEBUG main.cpp ../../libs/stb_vorbis/stb_vorbis.c -I../../ -o../../../bin/OpenLara -lX11 -lGL -lm -lpthread -lpulse-simple -lpulse strip ../../../bin/OpenLara --strip-all --remove-section=.comment --remove-section=.note