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
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