Browse Source

[PATCH 22/83] specifying linker target for wasm

From a347bf7b0562f05eb7e02dd2a5bfc56c17eb6557 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Wed, 11 Sep 2019 14:58:37 -0400

git-svn-id: branches/wasm@45899 -
nickysn 5 years ago
parent
commit
00aa60f576
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/systems/i_wasm.pas

+ 2 - 2
compiler/systems/i_wasm.pas

@@ -76,8 +76,8 @@ unit i_wasm;
             dirsep       : '/';
             dirsep       : '/';
             assem        : as_wasm_wabt;
             assem        : as_wasm_wabt;
             assemextern  : as_wasm_binaryen;
             assemextern  : as_wasm_binaryen;
-            link         : ld_none;
-            linkextern   : ld_none; // there's no linker, only object files for WASM
+            link         : ld_wasm;
+            linkextern   : ld_wasm; // there's no linker, only object files for WASM
             ar           : ar_none;
             ar           : ar_none;
             res          : res_none;
             res          : res_none;
             dbg          : dbg_none;
             dbg          : dbg_none;