forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3482bab
committed
meson: Restore implicit warning/debug/optimize flags for extensions
Meson uses warning/debug/optimize flags such as "-Wall", "-g", and"-O2" automatically based on "--warnlevel" and "--buildtype" options.And we use "--warning_level=1" and "--buildtype=debugoptimized" bydefault.But we need these flags for Makefile.global (for extensions) andpg_config, so we need to compute them manually based on thehigher-level options.Without this change, extensions building using pgxs wouldn't get -Wallor optimization options.Author: Sutou Kouhei <kou@clear-code.com>Discussion:https://www.postgresql.org/message-id/flat/20240122.141139.931086145628347157.kou%40clear-code.com1 parentb560a98 commit3482bab
2 files changed
+34
-2
lines changedLines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1946 | 1946 |
| |
1947 | 1947 |
| |
1948 | 1948 |
| |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
1949 | 1981 |
| |
1950 | 1982 |
| |
1951 | 1983 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
0 commit comments
Comments
(0)