Re: Support LDFLAGS_SL on most ports
От | Peter Eisentraut |
---|---|
Тема | Re: Support LDFLAGS_SL on most ports |
Дата | |
Msg-id | 200410071500.05776.peter_e@gmx.net обсуждение исходный текст |
Ответ на | Support LDFLAGS_SL on most ports (Oliver Jowett <oliver@opencloud.com>) |
Ответы |
Re: Support LDFLAGS_SL on most ports
|
Список | pgsql-patches |
Oliver Jowett wrote: > This patch includes LDFLAGS_SL in SHLIB_LINK on most ports > (previously it was only used on AIX and BeOS), and adds support for > specifying it in configure. > > This lets you do something like: > > ./configure LDFLAGS=-static-libgcc LDFLAGS_SL=-static-libgcc > > to produce binaries that do not depend on libgcc_s.so at all. Two comments: First, support for specifying it on configure requires you to call AC_ARG_VAR ("require" as in it would prevent people from shooting themselves in the foot). Please read up on it and add the appropriate call. Second, the AC_MSG_NOTICE calls are there for some variables because configure may modify them. But LDFLAGS_SL is just taken as given, so there is no need to print a notice about it. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-patches по дате отправления: