瀏覽代碼

Fix multiple readonly segments on Buster and such

Samuel Thibault 6 年之前
父節點
當前提交
6b16457d10
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/model-checking/Makefile

+ 1 - 1
tests/model-checking/Makefile

@@ -16,7 +16,7 @@
 STARPU=../../
 CPPFLAGS=-I$(STARPU)/src -I$(STARPU)/include -I.
 CFLAGS+=-Wall -Wextra -g -DNOCONFIG
-LDFLAGS+=-lsimgrid -lm
+LDFLAGS+=-lsimgrid -lm -Wl,-znorelro -Wl,-znoseparate-code
 
 MC_FLAGS=--cfg=model-check/reduction:none