From: Paul Floyd Date: Fri, 11 Apr 2025 18:29:58 +0000 (+0200) Subject: Regtest: use FLAG_PIE for bug290061 X-Git-Tag: VALGRIND_3_25_0~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80aaed9a8e57d41e47f82613053619b304dd0928;p=thirdparty%2Fvalgrind.git Regtest: use FLAG_PIE for bug290061 Illumos GCC doesn't have -pie. Also use it for the link command. --- diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index 8bd4b9bf2..ccad463ca 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -374,7 +374,7 @@ AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) # Extra stuff for C tests ansi_CFLAGS = $(AM_CFLAGS) -ansi -bug290061_CFLAGS = ${AM_CFLAGS} -pie +bug290061_LDFLAGS = @FLAG_PIE@ bug491394_LDADD = -lc bug491394_LDFLAGS = -nostdlib -static bug491394_CFLAGS = ${AM_CFLAGS} -Os