Browse Source

* don't use obsolete switches in default configuration files

git-svn-id: trunk@7963 -
Tomas Hajny 18 years ago
parent
commit
85e6a6b019
2 changed files with 1 additions and 8 deletions
  1. 1 1
      compiler/utils/fpc.cft
  2. 0 7
      compiler/utils/fpinc.cfg

+ 1 - 1
compiler/utils/fpc.cft

@@ -22,7 +22,7 @@
 
 # For a release compile with optimizes and strip debuginfo
 #IFDEF RELEASE
-  -O2p3
+  -O2
   -Xs
   #WRITE Compiling Release Version
 #ENDIF

+ 0 - 7
compiler/utils/fpinc.cfg

@@ -2,8 +2,6 @@
  -T%fpctargetos%
  -Sg
  -O1
- -OG
- -Op3
  -Ratt
  -Fu%basepath%\units\%fpctarget%-%fpctargetos%
  -Fu%basepath%\units\%fpctarget%-%fpctargetos%\*
@@ -19,8 +17,6 @@
  -Cr
  -Ci
  -Co
- -OG
- -Op3
  -Ratt
  -Fu%basepath%\units\%fpctarget%-%fpctargetos%
  -Fu%basepath%\units\%fpctarget%-%fpctargetos%\*
@@ -33,10 +29,7 @@
 #IFDEF RELEASE
  -T%fpctargetos%
  -Sg
- -O1
  -O2
- -OG
- -Op3
  -Ratt
  -Fu%basepath%\units\%fpctarget%-%fpctargetos%
  -Fu%basepath%\units\%fpctarget%-%fpctargetos%\*