瀏覽代碼

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

git-svn-id: trunk@46458 -
Jonas Maebe 5 年之前
父節點
當前提交
8d3ef67218
共有 1 個文件被更改,包括 2 次插入1 次删除
  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