From: thierry Date: Fri, 9 Oct 2009 07:53:59 +0000 (+0000) Subject: oops X-Git-Tag: boost-1.37.0-6~2 X-Git-Url: http://git.onelab.eu/?p=boost.git;a=commitdiff_plain;h=fe95810e1b1d6f29d9336acb30682705209a94b5;ds=sidebyside oops --- diff --git a/boost-use-rpm-optflags.patch b/boost-use-rpm-optflags.patch new file mode 100644 index 0000000..5dbb698 --- /dev/null +++ b/boost-use-rpm-optflags.patch @@ -0,0 +1,19 @@ +*** tools/build/v2/tools/gcc.jam.orig 2008-11-17 16:26:39.000000000 -0800 +--- tools/build/v2/tools/gcc.jam 2008-11-17 16:31:08.000000000 -0800 +*************** toolset.flags gcc.compile PCH_FILE +*** 292,298 **** + + # Declare flags and action for compilation. + toolset.flags gcc.compile OPTIONS off : -O0 ; +! toolset.flags gcc.compile OPTIONS speed : -O3 ; + toolset.flags gcc.compile OPTIONS space : -Os ; + + toolset.flags gcc.compile OPTIONS off : -fno-inline ; +--- 292,298 ---- + + # Declare flags and action for compilation. + toolset.flags gcc.compile OPTIONS off : -O0 ; +! toolset.flags gcc.compile OPTIONS speed : "$RPM_OPT_FLAGS" ; + toolset.flags gcc.compile OPTIONS space : -Os ; + + toolset.flags gcc.compile OPTIONS off : -fno-inline ;