Suppression of the '-Werror' flag to avoid failing compilations and threading usage...
authorDjomanix <johan.kayser@viacesi.fr>
Thu, 12 Jun 2014 14:54:07 +0000 (10:54 -0400)
committerDjomanix <johan.kayser@viacesi.fr>
Thu, 12 Jun 2014 19:30:45 +0000 (15:30 -0400)
Signed-off-by: Djomanix <johan.kayser@viacesi.fr>

src/pnacl_platform.nit

index 6dfdc3a..62c2f60 100644 (file)
@@ -77,7 +77,7 @@ THIS_MAKEFILE := $(abspath $(lastword $(MAKEFILE_LIST)))
 NACL_SDK_ROOT ?= $(abspath $(dir $(THIS_MAKEFILE))../../../..)
 
 # Project Build flags
-WARNINGS := -Wall -pedantic -Werror -Wno-long-long -Wno-unused-value -Wno-unused-label -Wno-duplicate-decl-specifier -Wno-switch -Wno-embedded-directive
+WARNINGS := -Wall -pedantic -Wno-long-long -Wno-unused-value -Wno-unused-label -Wno-duplicate-decl-specifier -Wno-switch -Wno-embedded-directive
 CXXFLAGS := -pthread $(WARNINGS)
 
 CXXFLAGS += -g -O0 # Debug
@@ -244,6 +244,6 @@ function updateStatus(opt_message) {
        redef fun compile_c_code(compiler, compile_dir)
        do
                # Generate the pexe
-               toolcontext.exec_and_check(["make", "-C", compile_dir], "PNaCl project error")
+               toolcontext.exec_and_check(["make", "-C", compile_dir, "-j", "4"], "PNaCl project error")
        end
 end