Author: jfrederic.clere(a)jboss.com
Date: 2011-07-14 03:42:46 -0400 (Thu, 14 Jul 2011)
New Revision: 2800
Modified:
trunk/build/unix/buildbin.jboss-native.sh
Log:
Arrange macosx CFLAGS logic.
Modified: trunk/build/unix/buildbin.jboss-native.sh
===================================================================
--- trunk/build/unix/buildbin.jboss-native.sh 2011-07-13 15:59:41 UTC (rev 2799)
+++ trunk/build/unix/buildbin.jboss-native.sh 2011-07-14 07:42:46 UTC (rev 2800)
@@ -60,12 +60,21 @@
add_conf="${add_conf} --with-ssl=no"
fi
+case ${BUILD_SYS} in
+ macosx-x86)
+ if [ "x$CFLAGS" != "x" ]; then
+ add_conf="${add_conf} CFLAGS=${CFLAGS}"
+ fi
+ ;;
+esac
+
mkdir -p ${output_loc}/bin/${output_lib}
mkdir -p ${output_loc}/bin/${output_bin}
native_sources=srclib/`ls srclib | grep tomcat-native`
# Build native part.
(cd $native_sources
+ echo "Configuring tomcat-native: ./configure {add_conf} --with-apr=${common_loc}
--prefix=${prefix_loc} -enable-layout=generic"
./configure ${add_conf} --with-apr=${common_loc} --prefix=${prefix_loc}
-enable-layout=generic
if [ $? -ne 0 ]; then
echo "Configure tomcat-native failed"
Show replies by date