Re: [HACKERS] PL patches (one more)
От | jwieck@debis.com (Jan Wieck) |
---|---|
Тема | Re: [HACKERS] PL patches (one more) |
Дата | |
Msg-id | m0zRdCT-000EBPC@orion.SAPserv.Hamburg.dsh.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] PL patches (one more) ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>) |
Список | pgsql-hackers |
> > > o pl/tcl/mkMakefile.tcldefs.sh.in > > > > At least one bash I'm using on one of my systems single > > quotes the values in the output of the set command. But > > make interprets CC=gcc -O2 different from CC='gcc -O2'. > > istm that perhaps > > make CC=gcc CFLAGS+=-O2 > > would be the best choice for achieving this. (And it works :). > > - Tom > Right - but that's not the point. If (as it is on one of my systems) the shells set command outputs TCL_LIBS='-ldl -lieee -lm' instead of TCL_LIBS=-ldl -lieee -lm and we put this exactly into the Makefile.tcldefs, then gmake will put the whole string into one single argv element in the linker call. But then the linker will not find the library "libdl -lieee -lm.a" or it's shared version. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #======================================== jwieck@debis.com (Jan Wieck) #
В списке pgsql-hackers по дате отправления: