Browse Source

* do not set -Xs if -dDEBUG is passed to the compiler as proposed by Thaddy de Koning in #32831

git-svn-id: trunk@37869 -
florian 7 years ago
parent
commit
e13bbe7f2d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      utils/fpcmkcfg/fpc.cft

+ 3 - 3
utils/fpcmkcfg/fpc.cft

@@ -32,6 +32,9 @@
   -gl
   -Crtoi
   #WRITE Compiling Debug Version
+#ELSE
+  # Strip debuginfo from the executable if not in debug mode
+  -Xs
 #ENDIF
 
 # assembling
@@ -235,9 +238,6 @@
 # always pass an option to the linker
 #-k-s
 
-# Always strip debuginfo from the executable
--Xs
-
 # Always use smartlinking on i8086, because the system unit exceeds the 64kb
 # code limit
 #ifdef cpui8086