Hi Guy, Yes, it's picked up from both hbmk2.cfg and also from internal extra C switch used to build hbmk2 itself.
For me the strange thing here is that it's also enabled for your hbmk2 build. It shouldn't normally be. This won't cause any problem, but I'll add some protection for this case. Pls retest afterwards. Brgds, Viktor On Sat, Jun 20, 2009 at 10:27 AM, Guy Roussin<guy.rous...@teledetection.fr> wrote: > Hi Viktor, >> >> Can you post your -trace hbmk2 output? > > Notice that now, (because i use HBHB_USER_CFLAGS="-fPIC" > to compile harbour mips(el)), i get 2 "-fPIC" in hbmk2 trace: > > g...@cobalt:~$ hbmk2 -trace t > hbmk: Processing configuration: /usr/local/bin/hbmk.cfg > hbmk: Harbour compiler command (internal): > /usr/local/bin/harbour -n2 t -i/usr/local/include/harbour > Harbour 2.0.0beta1 (Rev. 11442) > Copyright (c) 1999-2009, http://www.harbour-project.org/ > Compiling 't.prg'... > Lines 3, Functions/Procedures 1 > Generating C source output to 't.c'... Done. > hbmk: C compiler command: > gcc -c -O3 *-fPIC -fPIC* -I/usr/local/include/harbour t.c > /tmp/hbmk_2hi5cp.c > hbmk: Linker command: > gcc t.o hbmk_2hi5cp.o -Wl,--start-group -lharbour -lhbcplr -lhbdebug > -Wl,--end-group -ot -L/usr/local/lib/harbour > > g...@cobalt:~$ cat /usr/local/bin/hbmk.cfg > # Harbour Make configuration > # Generated by Harbour build process > arch=linux > comp=gcc > cflags={linux&gcc} -fPIC > > > Best regards, > > Guy > > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour