浏览代码

* 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 年之前
父节点
当前提交
a1db586c81
共有 1 个文件被更改,包括 3 次插入0 次删除
  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]);