forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit328b813
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 parente167b1a commit328b813
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16348 | 16348 | | |
16349 | 16349 | | |
16350 | 16350 | | |
| 16351 | + | |
| 16352 | + | |
| 16353 | + | |
| 16354 | + | |
16351 | 16355 | | |
16352 | 16356 | | |
16353 | 16357 | | |
| |||
16377 | 16381 | | |
16378 | 16382 | | |
16379 | 16383 | | |
| 16384 | + | |
16380 | 16385 | | |
16381 | 16386 | | |
16382 | 16387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2151 | 2151 | | |
2152 | 2152 | | |
2153 | 2153 | | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
2154 | 2158 | | |
2155 | 2159 | | |
2156 | 2160 | | |
| |||
2162 | 2166 | | |
2163 | 2167 | | |
2164 | 2168 | | |
| 2169 | + | |
2165 | 2170 | | |
2166 | 2171 | | |
2167 | 2172 | | |
| |||
0 commit comments
Comments
(0)