added the extras/patches/ directory (initial patch to link against pthreads for libfiu support)
This commit is contained in:
parent
211f1fb5a2
commit
2414393c94
13
extras/patches/libfiu_add_pthreads.patch
Normal file
13
extras/patches/libfiu_add_pthreads.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8fadbfb..87d5ffb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -150,7 +150,7 @@ AC_ARG_ENABLE([libfiu-support],
|
||||
if test "x$want_libfiu_support" = "xyes"; then
|
||||
AC_DEFINE([HAVE_LIBFIU], [1], [Define for fault injection testing support])
|
||||
FKO_CHECK_COMPILER_ARG([-DFIU_ENABLE])
|
||||
- FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY([-lfiu])
|
||||
+ FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY([-pthread -lfiu -ldl])
|
||||
fi
|
||||
|
||||
dnl Decide whether or not to enable C unit testing
|
||||
Loading…
x
Reference in New Issue
Block a user