> Date: Fri, 30 Mar 2007 14:11:45 +0200 > From: Markus Triska <[EMAIL PROTECTED]> > > *************** > *** 1720,1726 **** > GNU/Linux and MinGW. It might work on some other systems too. > Give it a try and tell us if it works on your system. To compile > for profiling use something like: > ! `make CFLAGS="-pg -g -O -DPROFILING=1'. */ > #if defined (__FreeBSD__) || defined (GNU_LINUX) || defined(__MINGW32__) > #ifdef PROFILING > if (initialized) > --- 1720,1726 ---- > GNU/Linux and MinGW. It might work on some other systems too. > Give it a try and tell us if it works on your system. To compile > for profiling use something like: > ! `./configure CFLAGS="-pg -g -O -DPROFILING=1" LDFLAGS="-pg"'. */ > #if defined (__FreeBSD__) || defined (GNU_LINUX) || defined(__MINGW32__) > #ifdef PROFILING > if (initialized)
Why change the flags when running ./configure? Why not simply add LDFLAGS to the `make' command line? What am I missing? (Doing that at `make' time has the advantage of being correct for the MinGW build as well, while your suggestion does not, since the MinGW build does not run the `configure' shell script.) _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
