Author: jfrederic.clere(a)jboss.com
Date: 2014-12-02 08:55:10 -0500 (Tue, 02 Dec 2014)
New Revision: 3391
Modified:
trunk/build/unix/build.sh
Log:
Try to prevent core in pcre...
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2014-12-02 11:07:54 UTC (rev 3390)
+++ trunk/build/unix/build.sh 2014-12-02 13:55:10 UTC (rev 3391)
@@ -1165,7 +1165,11 @@
else
add_static="--shared"
fi
- ./configure ${add_conf} --disable-cpp --disable-pcregrep-jit
--prefix=${pcre_common_dir} ${add_static} || exit 1
+ if [ -f /opt/SUNWspro/bin/cc ]; then
+ add_conf="$add_conf FLAGS=\"-g -O3\"
CC=\"/opt/SUNWspro/bin/cc -m64\""
+ 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