Commit 946839d2 authored by jdelange's avatar jdelange

* configure.ac

    - Remote __POSIX_SOURCE in CFLAGS when using FreeBSD
      Should fix bug #286.


git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@3928 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent a87d8de4
......@@ -56,6 +56,11 @@ case ${host_os} in
*solaris*10*)
NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -lrt"
;;
*freebsd*)
NATIVE_CFLAGS="${NATIVE_CFLAGS} -D_GNU_SOURCE"
NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -lpthread -lrt"
SIMULINK_LDFLAGS="-lm"
;;
*)
NATIVE_CFLAGS="${NATIVE_CFLAGS} -D_POSIX_SOURCE -D_GNU_SOURCE"
NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -lpthread -lrt"
......
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