Navigation Menu

Skip to content

Commit

Permalink
Disable warning == error on all platforms
Browse files Browse the repository at this point in the history
Change-Id: I29c4b14084b42891e0b95ccb44d9af2a2b8300e1
Reviewed-on: http://review.northscale.com/1567
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information
trondn authored and alk committed Aug 4, 2010
1 parent 9774880 commit ce77697
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions configure.ac
Expand Up @@ -234,10 +234,11 @@ AM_CONDITIONAL([BUILD_SPECIFICATIONS],

AC_CHECK_HEADERS_ONCE(sys/socket.h netdb.h arpa/inet.h pwd.h sys/mman.h netinet/tcp.h sysexits.h sys/uio.h sys/resource.h sys/un.h netinet/in.h winsock2.h syslog.h)
AS_IF(test "x$ac_cv_header_winsock2_h" = "xyes",
[AM_LDFLAGS="$AM_LDFLAGS -lws2_32"
AM_CFLAGS="$AM_CFLAGS $NO_WERROR"
AM_CXXFLAGS="$AM_CXXFLAGS $NO_WERROR"
])
[AM_LDFLAGS="$AM_LDFLAGS -lws2_32" ])

# moxi generates warnings on all platforms, so disable warning == error
AM_CFLAGS="$AM_CFLAGS $NO_WERROR"
AM_CXXFLAGS="$AM_CXXFLAGS $NO_WERROR"

AC_CHECK_FUNCS_ONCE(getrlimit getpwnam)

Expand Down

0 comments on commit ce77697

Please sign in to comment.