You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/01/11 20:03:10 UTC
svn commit: r495333 -
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
Author: tabish
Date: Thu Jan 11 11:03:09 2007
New Revision: 495333
URL: http://svn.apache.org/viewvc?view=rev&rev=495333
Log:
http://issues.apache.org/activemq/browse/AMQCPP-25
Modified:
incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac?view=diff&rev=495333&r1=495332&r2=495333
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac Thu Jan 11 11:03:09 2007
@@ -88,12 +88,13 @@
case "${host_os}" in
*darwin* ) ## Mac OS X configuration
+ CXXFLAGS="$CXXFLAGS -fstrict-aliasing -Wstrict-aliasing"
LIBS=""
;;
*cygwin* ) ## Cygwin configuration
# LIBS="-lwinmm -lm";
- CFLAGS="$CFLAGS -pthread"
+ CXXFLAGS="$CXXFLAGS -fstrict-aliasing -Wstrict-aliasing"
LIBS="$LIBS -lm -lpthread -luuid -lrpcrt4"
;;
@@ -101,7 +102,7 @@
AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
AC_MSG_ERROR([libpthread not found!]))
- CFLAGS="$CFLAGS -pthread"
+ CXXFLAGS="$CXXFLAGS -fstrict-aliasing -Wstrict-aliasing"
LIBS="$LIBS -lm -lpthread -luuid -lsocket -lrt"
;;
@@ -110,7 +111,7 @@
AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
AC_MSG_ERROR([libpthread not found!]))
- CFLAGS="$CFLAGS -pthread"
+ CXXFLAGS="$CXXFLAGS -fstrict-aliasing -Wstrict-aliasing"
LIBS="$LIBS -lm -lpthread -luuid"
esac