diff --git a/compiler/globals.pas b/compiler/globals.pas index 6de86e2435..c3d03bd3c9 100644 --- a/compiler/globals.pas +++ b/compiler/globals.pas @@ -2284,7 +2284,7 @@ end; initmodeswitches:=fpcmodeswitches; initlocalswitches:=[cs_check_io,cs_typed_const_writable]; initmoduleswitches:=[cs_extsyntax,cs_implicit_exceptions]; - initglobalswitches:=[cs_check_unit_name,cs_link_static,cs_link_extern]; + initglobalswitches:=[cs_check_unit_name,cs_link_static]; initoptimizerswitches:=[]; initsourcecodepage:='8859-1'; initpackenum:=4;