| From: | "Pop, Sebastian" <spop(at)amazon(dot)com> |
|---|---|
| To: | Christoph Berg <myon(at)debian(dot)org>, PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>, "Saidi, Ali" <alisaidi(at)amazon(dot)com>, "Csoma, Csaba" <csabac(at)amazon(dot)com> |
| Subject: | Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 |
| Date: | 2021-11-16 14:31:50 |
| Message-ID: | 1637073110475.14467@amazon.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-pkg-debian |
> I will investigate the autoconf issue and send you a patch specific to PG10 and 9.
> Most likely the PGAC_PROG_CXX_CFLAGS_OPT macro has been introduced after these releases.
The above macro has been added in March 2018:
https://github.com/postgres/postgres/commit/6869b4f2584787d9e4cefaab8a4bae1ecbe63766
the patch also adds CXXFLAGS, and so before this patch there is no need to detect CXXFLAGS.
Please see attached a patch tested on Ubuntu 20.04 on the following branches:
remotes/origin/REL9_6_STABLE
remotes/origin/REL_10_STABLE
I checked that REL_11_STABLE has the CXXFLAGS and the above macro.
Thanks,
Sebastian
| Attachment | Content-Type | Size |
|---|---|---|
| outline-atomics-pg-9.6.diff | text/x-patch | 535 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | apt.postgresql.org Repository Update | 2021-11-16 18:27:53 | pg-dirtyread updated to version 2.4-1.pgdg+1 |
| Previous Message | Pop, Sebastian | 2021-11-16 13:57:15 | Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 |