Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5aae36d

Browse files
committed
meson: Change default buildtype to debugoptimized
This matches the Autoconf default (-O2 + debug) better. The previousdefault setting "release" used -O3, which resulted in differentcompiler warnings. At least for now, we want to avoid suchdivergence.Discussion:https://www.postgresql.org/message-id/flat/CAFj8pRBJD_Y-XcqwXSbWS24z%2B84FFX7ajhCan9ixc_m4bD63sA%40mail.gmail.com
1 parent563f21c commit5aae36d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎doc/src/sgml/installation.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3001,7 +3001,7 @@ ninja install
30013001
<listitem>
30023002
<para>
30033003
This option can be used to specify the buildtype to use; defaults to
3004-
<option>release</option>. If you'd like finer control on the debug
3004+
<option>debugoptimized</option>. If you'd like finer control on the debug
30053005
symbols and optimization levels than what this option provides, you
30063006
can refer to the <option>--debug</option> and
30073007
<option>--optimization</option> flags.

‎meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ project('postgresql',
1818
default_options: [
1919
'warning_level=1',#-Wall equivalent
2020
'b_pch=false',
21-
'buildtype=release',
21+
'buildtype=debugoptimized',# -O2 + debug
2222
# For compatibility with the autoconf build, set a default prefix. This
2323
# works even on windows, where it's a drive-relative path (i.e. when on
2424
# d:/somepath it'll install to d:/usr/local/pgsql)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp