]> git.pld-linux.org Git - packages/boost.git/commitdiff
- alpha try (-pthread vs _REENTRANT issue)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 23 Feb 2004 21:52:54 +0000 (21:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    boost.spec -> 1.39

boost.spec

index 84cf21eb100b910c37bd89bcf431268ed823029e..c48bdad2dfdd9800d4355abb6bd98a0aeccbedd0 100644 (file)
@@ -676,6 +676,13 @@ Dokumentacja dla biblioteki Boost C++.
 # due to oversophisticated build flags system
 %{__perl} -pi -e 's/ -O3 / %{rpmcflags} /' tools/build/v1/gcc-tools.jam
 
+%ifarch alpha
+# -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
+# don't know, is it gcc bug or intentional omission?
+# anyway, boost check of -D_REENTRANT in its headers, so it's needed here
+%{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
+%endif
+
 %build
 %if %{with python}
 PYTHON_VERSION=`python -V 2>&1 | sed 's,.* \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
This page took 0.034091 seconds and 4 git commands to generate.