Browse Source

- disable {$optimization on} setting so the (fp)make settings are used

git-svn-id: trunk@46458 -
Jonas Maebe 5 years ago
parent
commit
8d3ef67218
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/regexpr/src/regexpr.pas

+ 2 - 1
packages/regexpr/src/regexpr.pas

@@ -56,7 +56,8 @@ interface
 {$BOOLEVAL OFF}
 {$EXTENDEDSYNTAX ON}
 {$LONGSTRINGS ON}
-{$OPTIMIZATION ON}
+{ use optimization settings passed via fpmake/make }
+{OPTIMIZATION ON}
 
 // ======== Define options for TRegExpr engine
 {$DEFINE UseFirstCharSet} // Enable optimization, which finds possible first chars of input string