浏览代码

* support for -Cg- to disable pic code

git-svn-id: trunk@8841 -
Jonas Maebe 18 年之前
父节点
当前提交
2db3d54b2e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/options.pas

+ 2 - 0
compiler/options.pas

@@ -508,6 +508,8 @@ begin
                     'g' :
                        if tf_no_pic_supported in target_info.flags then
                          message(scan_w_pic_ignored)
+                       else if UnsetBool(More, j) then
+                         exclude(init_settings.moduleswitches,cs_create_pic)
                        else
                          include(init_settings.moduleswitches,cs_create_pic);
                     'h' :