Remove unnecessary specification of CMAKE_(C|CXX)_COMPILER_TARGET

We already pass -target=LLVM_TARGET, no need to hardcode the triple for
libraries.
This commit is contained in:
Jacob Gravelle 2016-11-08 13:08:27 -08:00
Родитель da73b07c2b
Коммит a255996e21
2 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -134,8 +134,6 @@ if (EMSCRIPTEN_FORCE_COMPILERS)
set(CMAKE_CXX_COMPILER_ID Clang)
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT 98)
set(CMAKE_C_COMPILER_TARGET "asmjs-unknown-emscripten")
set(CMAKE_CXX_COMPILER_TARGET "asmjs-unknown-emscripten")
set(CMAKE_C_PLATFORM_ID "emscripten")
set(CMAKE_CXX_PLATFORM_ID "emscripten")

Просмотреть файл

@ -5222,7 +5222,6 @@ return malloc(size);
self.do_run(open(path_from_root('third_party', 'gcc_demangler.c')).read(), '*d_demangle(char const*, int, unsigned int*)*', args=['_ZL10d_demanglePKciPj'])
@no_wasm_backend()
def test_lua(self):
if self.emcc_args: self.emcc_args = ['-g1'] + self.emcc_args
@ -5306,7 +5305,6 @@ def process(filename):
['font.ttf', 'ea', '40', '32', '0'],
no_build=True)
@no_wasm_backend()
def test_sqlite(self):
# gcc -O3 -I/home/alon/Dev/emscripten/tests/sqlite -ldl src.c
self.banned_js_engines = [NODE_JS] # OOM in older node
@ -5355,7 +5353,6 @@ def process(filename):
includes=[path_from_root('tests', 'zlib'), os.path.join(self.get_dir(), 'building', 'zlib')],
force_c=True)
@no_wasm_backend()
def test_the_bullet(self): # Called thus so it runs late in the alphabetical cycle... it is long
Settings.DEAD_FUNCTIONS = ['__ZSt9terminatev']