Commit 317902ce authored by linus's avatar linus Committed by linus

Don't pass `-mt' to gcc on Solaris.

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@515 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent d582147d
...@@ -62,5 +62,6 @@ ...@@ -62,5 +62,6 @@
Fixed header files for FreeBSD Fixed header files for FreeBSD
Fix for multiple UDP servers on same IP address, solves accounting Fix for multiple UDP servers on same IP address, solves accounting
problems. problems.
2009-09-11 1.3.2 2010-02-26 1.3.2
Fixed UDP fragmentation issue Fixed UDP fragmentation issue
Fix build on Solaris when compiling with gcc.
...@@ -50,7 +50,10 @@ dnl Check if we're on Solaris and set CFLAGS accordingly ...@@ -50,7 +50,10 @@ dnl Check if we're on Solaris and set CFLAGS accordingly
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM
case "${target_os}" in case "${target_os}" in
solaris*) solaris*)
TARGET_CFLAGS="-mt -DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS" TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
if test "$GCC" != yes ; then
TARGET_CFLAGS="$TARGET_CFLAGS -mt"
fi
TARGET_LDFLAGS="-lpthread -lsocket -lnsl" TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
;; ;;
*) *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment