From: Takeshi A. <ta...@fi...> - 2011-08-19 15:24:08
|
Hi Rainer, On Thu, 18 Aug 2011 15:07:23 +0200, Rainer Machne <ra...@tb...> wrote: > it looks quite harmless to me, pleae commit! Thanks for your review, done. Cheers, -- Takeshi Abe > > Rainer > > On Tue, Aug 09, 2011 at 11:12:29AM +0900, Takeshi Abe wrote: >> Hi all, >> >> Please review the attached patch to allow for extra switches to CFLAGS/LIBS, >> which makes it easy to tweak gcc, for example, on Mac OS X (intel) by >> adding '-arch i386'. >> I will commit it into master if OK. >> >> Cheers, >> -- Takeshi Abe > >> >From 307f83233d9de7c29fc06d149825f2cad20dd57c Mon Sep 17 00:00:00 2001 >> From: Takeshi Abe <ta...@fi...> >> Date: Tue, 9 Aug 2011 10:58:45 +0900 >> Subject: [PATCH] allow for extra switches to CFLAGS/LIBS >> >> --- >> configure.in | 8 ++++---- >> 1 files changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/configure.in b/configure.in >> index 8409e4f..fa29daf 100644 >> --- a/configure.in >> +++ b/configure.in >> @@ -64,8 +64,8 @@ AC_DEFINE_UNQUOTED([SHAREDLIBEXT], ".${SHAREDLIBEXT}", >> >> dnl Adding global compilation parameters >> dnl !!! remove -g -O2 -pg for release ??? >> -CFLAGS="-g -O2 -pg -Wno-unknown-pragmas -Wall -ansi -std=iso9899:1990" >> -LIBS="-lm -lstdc++" >> +CFLAGS="$CFLAGS -g -O2 -pg -Wno-unknown-pragmas -Wall -ansi -std=iso9899:1990" >> +LIBS="$LIBS -lm -lstdc++" >> AC_SUBST(CFLAGS) >> AC_SUBST(LIBS) >> >> @@ -103,8 +103,8 @@ dnl Adding global compilation parameters >> dnl !!! remove -g -O2 -pg for release ??? >> >> dnl CFLAGS="-g -O2 -pg -Wno-unknown-pragmas -Wall -ansi -std=iso9899:1990" >> -CFLAGS="-g -O2 -Wno-unknown-pragmas -Wall -ansi -std=iso9899:1990" >> -LIBS="-ldl -lm -lstdc++" >> +CFLAGS="$CFLAGS -g -O2 -Wno-unknown-pragmas -Wall -ansi -std=iso9899:1990" >> +LIBS="$LIBS -ldl -lm -lstdc++" >> >> >> dnl add the CFLAGS and LDFLAGS for tcc online compilation >> -- >> 1.7.2.5 >> > >> ------------------------------------------------------------------------------ >> uberSVN's rich system and user administration capabilities and model >> configuration take the hassle out of deploying and managing Subversion and >> the tools developers use with it. Learn more about uberSVN and get a free >> download at: http://p.sf.net/sfu/wandisco-dev2dev > >> _______________________________________________ >> sbmlsolver-discuss mailing list >> sbm...@li... >> https://lists.sourceforge.net/lists/listinfo/sbmlsolver-discuss > |