]> git.pld-linux.org Git - packages/boost.git/commitdiff
- use user-defined CXXFLAGS
authorŁukasz Krotowski <lkrotowski@pld-linux.org>
Fri, 14 Nov 2008 10:32:48 +0000 (10:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    boost.spec -> 1.111

boost.spec

index 73d73f753cea632f811ce57a74869e0d1a218556..0d693b2fccd2e9de7e26d1342edc4c5f1c7ee31f 100644 (file)
@@ -315,7 +315,7 @@ Dokumentacja dla biblioteki Boost C++.
 # - don't know how to pass it through (b)jam -s (no way?)
 #   due to oversophisticated build flags system.
 # - pass -fPIC due to <shared-linkable> removal.
-%{__sed} -i 's/<optimization>speed : -O3/<optimization>speed : %{rpmcxxflags} -fPIC/' tools/build/v2/tools/gcc.jam
+%{__sed} -i "s/<optimization>speed : -O3/<optimization>speed : ${CXXFLAGS:-%rpmcxxflags} -fPIC/" tools/build/v2/tools/gcc.jam
 
 # cleanup -g switch to avoid override debuginfocflags.
 %{__sed} -i 's/<debug-symbols>on : -g/<debug-symbols>on :/' tools/build/v2/tools/gcc.jam
This page took 0.140698 seconds and 4 git commands to generate.