-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.rej
52 lines (52 loc) · 1.23 KB
/
configure.rej
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
--- home/pramod/git/postgresql/configure 2021-08-28 10:08:08.944219199 +0530
+++ postgresql/configure 2021-11-30 11:53:43.593854713 +0530
@@ -4321,13 +4321,13 @@
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O0"
+ CFLAGS="-g -O2"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
- CFLAGS="-O0"
+ CFLAGS="-O2"
else
CFLAGS=
fi
@@ -4852,13 +4852,13 @@
CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
- CXXFLAGS="-g -O0"
+ CXXFLAGS="-g -O2"
else
CXXFLAGS="-g"
fi
else
if test "$GXX" = yes; then
- CXXFLAGS="-O0"
+ CXXFLAGS="-O2"
else
CXXFLAGS=
fi
@@ -5216,7 +5216,7 @@
elif test "$enable_coverage" = yes; then
: # no optimization by default
elif test "$GCC" = yes; then
- CFLAGS="-O0"
+ CFLAGS="-O2"
else
# if the user selected debug mode, don't use -O
if test "$enable_debug" != yes; then
@@ -5231,7 +5231,7 @@
elif test "$enable_coverage" = yes; then
: # no optimization by default
elif test "$GCC" = yes; then
- CXXFLAGS="-O0"
+ CXXFLAGS="-O2"
else
# if the user selected debug mode, don't use -O
if test "$enable_debug" != yes; then