-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.prod.cfg.sample
63 lines (55 loc) · 2.08 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
62
63
#-----------------------------------------
# mod_pascal
# Apache 2.4 module which can execute
# Pascal program
#
# @link https://github.com/zamronypj/mod_pascal
# @copyright Copyright (c) 2020 Zamrony P. Juhara
# @license https://github.com/zamronypj/mod_pascal/blob/master/LICENSE (LGPL-2.1)
#------------------------------------------
#----------------------------------------------
# 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