Explorar o código

+ enable smartlink sections for the llvm-mc assembler

git-svn-id: branches/wasm@48255 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
4e57c4d89e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/wasm32/agllvmmc.pas

+ 1 - 1
compiler/wasm32/agllvmmc.pas

@@ -310,7 +310,7 @@ implementation
          asmbin : 'llvm-mc';
          asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext --filetype=obj -o $OBJ $EXTRAOPT $ASM';
          supported_targets : [system_wasm32_wasm,system_wasm32_wasi];
-         flags : [];
+         flags : [af_smartlink_sections];
          labelprefix : '.L';
          labelmaxlen : -1;
          comment : '# ';