From 2ea4c683db1535bf4473221696da21c9ea9fb70f Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 24 Feb 2007 15:12:44 +0000 Subject: [PATCH] * don't disable -Xs when -g and -Xg is used git-svn-id: trunk@6629 - --- compiler/options.pas | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compiler/options.pas b/compiler/options.pas index c9e8ac35cd..717846ea8d 100644 --- a/compiler/options.pas +++ b/compiler/options.pas @@ -2273,8 +2273,11 @@ begin include(init_settings.globalswitches,cs_link_extern); { turn off stripping if compiling with debuginfo or profile } - if (cs_debuginfo in init_settings.moduleswitches) or - (cs_profile in init_settings.moduleswitches) then + if ( + (cs_debuginfo in init_settings.moduleswitches) or + (cs_profile in init_settings.moduleswitches) + ) and + not(cs_link_separate_dbg_file in init_settings.globalswitches) then exclude(init_settings.globalswitches,cs_link_strip); { force fpu emulation on arm/wince, arm/gba and arm/nds}