浏览代码

Fix simgrid-mc execution with latest debian toolchain

Samuel Thibault 5 年之前
父节点
当前提交
95754a4a18
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -245,6 +245,7 @@ if test x$enable_simgrid = xyes ; then
 	if test x$enable_simgrid_mc = xyes ; then
 		AC_DEFINE(STARPU_SIMGRID_MC, [1], [Define this to enable Model Checker in simgrid execution])
 		AC_PATH_PROG([SIMGRID_MC], [simgrid-mc], [no], [$simgrid_dir/bin:$PATH])
+		LDFLAGS="$LDFLAGS -Wl,-znorelro -Wl,-znoseparate-code"
 	fi
 fi
 AM_CONDITIONAL(STARPU_SIMGRID_MC, test x$enable_simgrid_mc = xyes)