From be24ea4d524905937bbc51b34aa8214cdd5ca22f Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Wed, 25 Sep 2019 22:22:48 +0200 Subject: Attempt to locate Emscripten if EMSCRIPTEN_DIR is not set (#1153) * Attempt to locate emscripten if EMSCRIPTEN_DIR is not set * Remove previous --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1bd9cf76..60c56e25 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ USE_NINJA ?= 0 FUZZ_BIN_DIR ?= ${ROOT_DIR}/afl-fuzz GCC_FUZZ_CC := ${FUZZ_BIN_DIR}/afl-gcc GCC_FUZZ_CXX := ${FUZZ_BIN_DIR}/afl-g++ -EMSCRIPTEN_DIR ?= ${ROOT_DIR}/emscripten +EMSCRIPTEN_DIR ?= $(dir $(shell which emcc)) CMAKE_CMD ?= cmake DEFAULT_SUFFIX = clang-debug -- cgit v1.2.3