Browse Source

* define CPULLVM for compilers with an llvm-based code generator (in addition
to the regular CPUXXX define for the target architecture)

git-svn-id: branches/debug_eh@40434 -

Jonas Maebe 6 năm trước cách đây
mục cha
commit
a1db586c81
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      compiler/options.pas

+ 3 - 0
compiler/options.pas

@@ -3413,6 +3413,9 @@ procedure read_arguments(cmd:TCmdStr);
       controller: tcontrollertype;
       s: string;
     begin
+{$ifdef llvm}
+      def_system_macro('CPULLVM');
+{$endif}
       for cputype:=low(tcputype) to high(tcputype) do
         undef_system_macro('CPU'+Cputypestr[cputype]);
       def_system_macro('CPU'+Cputypestr[init_settings.cputype]);