]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - tools/test-build
Fix the DNS socket not being closed when core_dns is unloaded.
[user/henk/code/inspircd.git] / tools / test-build
index eb7da05d0fbbf8d9d9c358713a73a47caabd51e3..25981d4a64399e8a04704f2bc9b9ee79da36e681 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # InspIRCd -- Internet Relay Chat Daemon
 #
-#   Copyright (C) 2013-2019 Sadie Powell <sadie@witchery.services>
+#   Copyright (C) 2013-2016, 2018-2020 Sadie Powell <sadie@witchery.services>
 #
 # This file is part of InspIRCd.  InspIRCd is free software: you can
 # redistribute it and/or modify it under the terms of the GNU General Public
@@ -64,7 +64,7 @@ foreach my $compiler (@compilers) {
                        say "Failed to configure using the $compiler compiler and the $socketengine socket engine!";
                        exit 1;
                }
-               if (execute 'make', '--jobs', get_cpu_count, 'install') {
+               if (execute 'make', '--jobs', get_cpu_count() + 1, 'install') {
                        say "Failed to compile using the $compiler compiler and the $socketengine socket engine!";
                        exit 1;
                }