Explorar o código

* support for -Cg- to disable pic code

git-svn-id: trunk@8841 -
Jonas Maebe %!s(int64=18) %!d(string=hai) anos
pai
achega
2db3d54b2e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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' :