summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2011-12-19 02:22:59 +0000
committerPedro Giffuni <pfg@apache.org>2011-12-19 02:22:59 +0000
commitea4f454ed956e08be47783b3bddd7789f905e350 (patch)
treea738b3df9dd63440233f1db4ea8e00d40c4c4fd2
parent88b26c4bad438fcf1921e63b085a06393cace52b (diff)
Fix some build issues on Solaris. Reported by L'oiseau de mer.
-rw-r--r--libxslt/libxslt-bsd.patch2
-rw-r--r--solenv/inc/unxsoli4.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/libxslt/libxslt-bsd.patch b/libxslt/libxslt-bsd.patch
index 5ec6e020ba74..cbb9efee687a 100644
--- a/libxslt/libxslt-bsd.patch
+++ b/libxslt/libxslt-bsd.patch
@@ -15,7 +15,7 @@
* Calling localtime() has the side-effect of setting timezone.
* After we know the timezone, we can adjust for it
*/
-+#if defined(__GLIBC__)
++#if !defined(__FreeBSD__)
lmt = gmt - timezone;
-
+#else /* FreeBSD DOESN'T HAVE such side-ffect */
diff --git a/solenv/inc/unxsoli4.mk b/solenv/inc/unxsoli4.mk
index 4677efbaeed7..55946f9fd2c4 100644
--- a/solenv/inc/unxsoli4.mk
+++ b/solenv/inc/unxsoli4.mk
@@ -44,7 +44,7 @@ JAVA_RUNTIME=-ljava_g
# architecture dependent flags for the C and C++ compiler that can be changed by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
-ARCH_FLAGS*=
+ARCH_FLAGS*="-features=rvalueref"
CXX*=CC
CC*=cc