]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
Build with -Werror except on macOS
authorBram Matthys <redacted>
Mon, 11 Jun 2018 08:11:16 +0000 (10:11 +0200)
committerBram Matthys <redacted>
Mon, 11 Jun 2018 08:11:16 +0000 (10:11 +0200)
extras/build-tests/nix/select-config

index 73415803a46981152e1a9eece38d36a3151d3b9e..3f994ad1bccf547980a299acf6ea48837071664d 100755 (executable)
@@ -100,3 +100,9 @@ do
        fi
        shift
 done
+
+if [[ "$OSTYPE" == "darwin"* ]]; then
+       echo "NOTE: Not building with -Werror for now on macOS..."
+else
+       echo 'EXTRAPARA="--enable-werror"' >>config.settings
+fi