Explorar o código

Fix multiple readonly segments on Buster and such

Samuel Thibault %!s(int64=6) %!d(string=hai) anos
pai
achega
6b16457d10
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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