Browse Source

Add separate cs_assemble_on_target tglobalswitch entry

git-svn-id: trunk@47486 -
pierre 4 years ago
parent
commit
c06a931d5b
2 changed files with 4 additions and 2 deletions
  1. 2 1
      compiler/globtype.pas
  2. 2 1
      compiler/utils/ppuutils/ppudump.pp

+ 2 - 1
compiler/globtype.pas

@@ -229,7 +229,8 @@ interface
          cs_link_pre_binutils_2_19,
          cs_link_pre_binutils_2_19,
          cs_link_vlink,
          cs_link_vlink,
          { disable LTO for the system unit (needed to work around linker bugs on macOS) }
          { disable LTO for the system unit (needed to work around linker bugs on macOS) }
-         cs_lto_nosystem
+         cs_lto_nosystem,
+	 cs_assemble_on_target
        );
        );
        tglobalswitches = set of tglobalswitch;
        tglobalswitches = set of tglobalswitch;
 
 

+ 2 - 1
compiler/utils/ppuutils/ppudump.pp

@@ -2299,7 +2299,8 @@ const
         'Link using native linker', {cs_link_native}
         'Link using native linker', {cs_link_native}
         'Link for GNU linker version <=2.19', {cs_link_pre_binutils_2_19}
         'Link for GNU linker version <=2.19', {cs_link_pre_binutils_2_19}
         'Link using vlink', {cs_link_vlink}
         'Link using vlink', {cs_link_vlink}
-        'Link-Time Optimization disabled for system unit' {cs_lto_nosystem}
+        'Link-Time Optimization disabled for system unit', {cs_lto_nosystem}
+        'Assemble on target OS' {cs_asemble_on_target}
        );
        );
     localswitchname : array[tlocalswitch] of string[50] =
     localswitchname : array[tlocalswitch] of string[50] =
        { Switches which can be changed locally }
        { Switches which can be changed locally }