forked from zamronypj/fano-cli
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.prod.cfg.sample
61 lines (53 loc) · 2.11 KB
/
build.prod.cfg.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#------------------------------------------------------------
# Fano CLI Application (https://fanoframework.github.io)
#
# @link https://github.com/fanoframework/fano-cli
# @copyright Copyright (c) 2018 - 2022 Zamrony P. Juhara
# @license https://github.com/fanoframework/fano-cli/blob/master/LICENSE (MIT)
#-------------------------------------------------------------
#----------------------------------------------
# User configuration for production build
# Please see Free Pascal Documentation for available
# compiler switch configurations
#----------------------------------------------
#----------------------------------------------
# halt compiler after error
#----------------------------------------------
-Se
#----------------------------------------------
# Level 3 optimization
# Other available switch -O1, -O2, -O4
#----------------------------------------------
-O3
#----------------------------------------------
# Move frequent-used variable in register
# This switch is actually redundant as this
# already be covered by -O3 switch above.
# It puts here just for completeness.
#----------------------------------------------
-Ooregvar
#----------------------------------------------
# Removing the calculation of dead values optimization
# this optimization is included in -O4
#----------------------------------------------
-Oodeadvalues
#----------------------------------------------
# Use smart linking
# Tell linker to only link symbols that your code
# actually need to reduce executable size
# @link: https://www.freepascal.org/docs-html/prog/progse30.html
#----------------------------------------------
-CX
#----------------------------------------------
# Link with smartlinked units
# This is related to -CX switch above, If you enable
# smart linking then smart linking process will only
# be carried out if this switch is enable
# @link: https://www.freepascal.org/docs-html/prog/progse30.html
#----------------------------------------------
-XX
#----------------------------------------------
# Strip all debug information and symbols
# from output executable
#----------------------------------------------
-Xs