summaryrefslogtreecommitdiff
path: root/compiler/options.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/options.pas')
-rw-r--r--compiler/options.pas7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/options.pas b/compiler/options.pas
index 844d8e9485..99bfdedb62 100644
--- a/compiler/options.pas
+++ b/compiler/options.pas
@@ -1251,6 +1251,13 @@ begin
'c' : Cshared:=TRUE;
't' :
include(initglobalswitches,cs_link_staticflag);
+ 'v' :
+ begin
+ If UnsetBool(More, j) then
+ exclude(initglobalswitches,cs_link_opt_vtable)
+ else
+ include(initglobalswitches,cs_link_opt_vtable);
+ end;
'D' :
begin
def_system_macro('FPC_LINK_DYNAMIC');