forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4e19bd4
committed
Use CFLAGS_SL while probing linkability of libperl.
On recent Red Hat platforms (at least RHEL 8 and Fedora 30, maybe older),configure's probe for libperl failed if the user forces CFLAGS to be -O0.This is because some code in perl's inline.h fails to be optimized awayat -O0, and said code doesn't work if compiled without -fPIC.To fix, add CFLAGS_SL to the compile flags used during the libperl probe.This is a better simulation of the way that plperl is built, anyway,so it might forestall other issues in future.Per gripe from Kyotaro Horiguchi. Back-patch to all supported branches,since people might want to build older branches on these platforms.Discussion:https://postgr.es/m/20191010.144533.263180400.horikyota.ntt@gmail.com1 parent99c51d5 commit4e19bd4
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18238 | 18238 | | |
18239 | 18239 | | |
18240 | 18240 | | |
| 18241 | + | |
| 18242 | + | |
| 18243 | + | |
| 18244 | + | |
18241 | 18245 | | |
18242 | 18246 | | |
18243 | 18247 | | |
| |||
18267 | 18271 | | |
18268 | 18272 | | |
18269 | 18273 | | |
| 18274 | + | |
18270 | 18275 | | |
18271 | 18276 | | |
18272 | 18277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2264 | 2264 | | |
2265 | 2265 | | |
2266 | 2266 | | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
2267 | 2271 | | |
2268 | 2272 | | |
2269 | 2273 | | |
| |||
2275 | 2279 | | |
2276 | 2280 | | |
2277 | 2281 | | |
| 2282 | + | |
2278 | 2283 | | |
2279 | 2284 | | |
2280 | 2285 | | |
| |||
0 commit comments
Comments
(0)