Update of /cvsroot/devil-linux/build/scripts
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18030/scripts
Modified Files:
heartbeat
Log Message:
fixed for heartbeat and 64 bit compiles
Index: heartbeat
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/heartbeat,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- heartbeat 10 Jan 2009 17:28:02 -0000 1.15
+++ heartbeat 11 Jan 2009 14:32:59 -0000 1.16
@@ -28,7 +28,7 @@
case $1 in
build )
if [ "$CONFIG_HEARTBEAT" = "y" ]; then
- #cd $(find_src_dir Heartbeat) || exit 1
+ cd $(find_src_dir Heartbeat) || exit 1
if [ "$CONFIG_PYTHON" = "y" ]; then
if [ "$CONFIG_NET_SNMP" != "y" ]; then
SNMP="--disable-snmp"
@@ -36,8 +36,10 @@
#CFLAGS="-D_FORTIFY_SOURCE=0"
#CC="gcc -nopie -fno-stack-protector"
- #CFLAGS="-fno-stack-protector -D_FORTIFY_SOURCE=0" ./ConfigureMe configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ${SNMP} || exit 1
- CFLAGS="$CFLAGS -fno-stack-protector -D_FORTIFY_SOURCE=0" ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ${SNMP} || exit 1
+ #CFLAGS="$CFLAGS -fno-stack-protector -D_FORTIFY_SOURCE=0"
+ ./ConfigureMe configure --prefix=/usr \
+ --localstatedir=/var --sysconfdir=/etc ${SNMP} --enable-fatal-warnings=no || exit 1
+ #CFLAGS="$CFLAGS -fno-stack-protector -D_FORTIFY_SOURCE=0" ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ${SNMP} || exit 1
make $PMAKE all || exit 1
strip_debug
@@ -47,7 +49,7 @@
install )
if [ "$CONFIG_HEARTBEAT" = "y" ]; then
- #cd $(find_src_dir Heartbeat) || exit 1
+ cd $(find_src_dir Heartbeat) || exit 1
if [ "$CONFIG_PYTHON" = "y" ]; then
rm -rf $TMPDIR || exit 1
mkdir -p $TMPDIR || exit 1
|