-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.prod.cfg.sample
61 lines (53 loc) · 2.03 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
#------------------------------------------------------------
# [[APP_NAME]] ([[APP_URL]])
#
# @link [[APP_REPOSITORY_URL]]
# @copyright Copyright (c) [[COPYRIGHT_YEAR]] [[COPYRIGHT_HOLDER]]
# @license [[LICENSE_URL]] ([[LICENSE]])
#--------------------------------------------------------------
#----------------------------------------------
# User configuration for production build
# Please see Free Pascal Documentation for available
# compiler switch configurations
#----------------------------------------------
#----------------------------------------------
# halt compiler after error
#----------------------------------------------
-Se
#----------------------------------------------
# Level 4 optimization
# Other available switch -O1, -O2, -O3
#----------------------------------------------
-O4
#----------------------------------------------
# Move frequent-used variable in register
# This switch is actually redundant as this
# already be covered by -O3 switch.
# 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