Browse Source

* forgot to check the target for linux for $S switch message

peter 27 years ago
parent
commit
e7504d3016
1 changed files with 7 additions and 4 deletions
  1. 7 4
      compiler/switches.pas

+ 7 - 4
compiler/switches.pas

@@ -90,9 +90,9 @@ begin
                     aktlocalswitches:=aktlocalswitches+[tlocalswitch(setsw)]
                     aktlocalswitches:=aktlocalswitches+[tlocalswitch(setsw)]
                    else
                    else
                     aktlocalswitches:=aktlocalswitches-[tlocalswitch(setsw)];
                     aktlocalswitches:=aktlocalswitches-[tlocalswitch(setsw)];
-		 { Message for linux which has global checking only }
-                   if switch='S' then
-		    Message(scan_n_stack_check_global_under_linux);
+                 { Message for linux which has global checking only }
+                   if (switch='S') and (target_info.target=target_linux) then
+                    Message(scan_n_stack_check_global_under_linux);
                  end;
                  end;
       modulesw : begin
       modulesw : begin
                    if current_module^.in_main then
                    if current_module^.in_main then
@@ -153,7 +153,10 @@ end;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.9  1998-08-10 15:47:08  peter
+  Revision 1.10  1998-08-14 18:14:57  peter
+    * forgot to check the target for linux for $S switch message
+
+  Revision 1.9  1998/08/10 15:47:08  peter
     * reinstantited stackcheck note for linux
     * reinstantited stackcheck note for linux
 
 
   Revision 1.8  1998/08/10 14:50:27  peter
   Revision 1.8  1998/08/10 14:50:27  peter