forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb4e9368
committed
Remove further unwanted linker flags from perl_embed_ldflags
Remove the contents of $Config{ldflags} from ExtUtils::Embed's ldopts,like we already do with $Config{ccdlflags}. Those flags are thechoices of those who built the Perl installation, which are notnecessarily appropriate for building PostgreSQL. What we really wantfrom ldopts are the options identifying the location and name of thelibperl library, but unfortunately it doesn't appear possible to getthat separately from the other stuff.The motivation for this was to strip -mmacosx-version-min options. Wealready did something similar for the -arch option. Both of those arenow covered by this more general approach.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://www.postgresql.org/message-id/flat/8c4fcb72-2574-ff7c-4c25-1f032d4a2a57%40enterprisedb.com1 parent0f47457 commitb4e9368
2 files changed
+7
-7
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
85 |
| - | |
86 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
103 |
| - | |
| 102 | + | |
| 103 | + | |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10477 | 10477 |
| |
10478 | 10478 |
| |
10479 | 10479 |
| |
10480 |
| - | |
10481 |
| - | |
| 10480 | + | |
| 10481 | + | |
10482 | 10482 |
| |
10483 | 10483 |
| |
10484 | 10484 |
| |
|
0 commit comments
Comments
(0)