Browse Source

* exports need pic on x86_64-freebsd

git-svn-id: trunk@11768 -
florian 17 years ago
parent
commit
844c05ca2e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/expunix.pas

+ 2 - 2
compiler/expunix.pas

@@ -152,7 +152,7 @@ begin
            current_asmdata.asmlists[al_procedures].concat(Tai_symbol.Createname_global(hp2.name^,AT_FUNCTION,0));
            current_asmdata.asmlists[al_procedures].concat(Tai_symbol.Createname_global(hp2.name^,AT_FUNCTION,0));
            if (cs_create_pic in current_settings.moduleswitches) and
            if (cs_create_pic in current_settings.moduleswitches) and
              { other targets need to be checked how it works }
              { other targets need to be checked how it works }
-             (target_info.system in [system_i386_freebsd,system_x86_64_linux,system_i386_linux]) then
+             (target_info.system in [system_i386_freebsd,system_x86_64_freebsd,system_x86_64_linux,system_i386_linux]) then
              begin
              begin
 {$ifdef x86}
 {$ifdef x86}
                sym:=current_asmdata.RefAsmSymbol(pd.mangledname);
                sym:=current_asmdata.RefAsmSymbol(pd.mangledname);
@@ -182,4 +182,4 @@ begin
 end;
 end;
 
 
 
 
-end.
+end.