]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Regtest: use FLAG_PIE for bug290061
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 11 Apr 2025 18:29:58 +0000 (20:29 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 11 Apr 2025 18:29:58 +0000 (20:29 +0200)
Illumos GCC doesn't have -pie. Also use it for the link command.

none/tests/Makefile.am

index 8bd4b9bf281f8ba5c1d2a2361380524cef18675c..ccad463cab07184cd9ea1a52911d05fb87a6a974 100644 (file)
@@ -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