JBoss Native SVN: r3393 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2014-12-02 11:22:12 -0500 (Tue, 02 Dec 2014)
New Revision: 3393
Modified:
trunk/build/unix/build.sh
Log:
Arrange solaris logic...
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2014-12-02 15:21:45 UTC (rev 3392)
+++ trunk/build/unix/build.sh 2014-12-02 16:22:12 UTC (rev 3393)
@@ -1166,10 +1166,11 @@
add_static="--shared"
fi
if [ -f /opt/SUNWspro/bin/cc ]; then
- add_conf="$add_conf CFLAGS=\"-g -O3\" CC=\"/opt/SUNWspro/bin/cc -m64\""
+ CFLAGS="-g -O3" CC="/opt/SUNWspro/bin/cc -m64" ./configure ${add_conf} --disable-cpp --disable-pcregrep-jit --prefix=${pcre_common_dir} ${add_static} --enable-utf8 --enable-unicode-properties || exit 1
+ else
+ echo "Doing ./configure ${add_conf} --disable-cpp --disable-pcregrep-jit --prefix=${pcre_common_dir} ${add_static} --enable-utf8 --enable-unicode-properties"
+ ./configure ${add_conf} --disable-cpp --disable-pcregrep-jit --prefix=${pcre_common_dir} ${add_static} --enable-utf8 --enable-unicode-properties || exit 1
fi
- echo "Doing ./configure ${add_conf} --disable-cpp --disable-pcregrep-jit --prefix=${pcre_common_dir} ${add_static} --enable-utf8 --enable-unicode-properties"
- ./configure ${add_conf} --disable-cpp --disable-pcregrep-jit --prefix=${pcre_common_dir} ${add_static} --enable-utf8 --enable-unicode-properties || exit 1
make || exit 1
make install || exit 1
) || return 1