From 80aaed9a8e57d41e47f82613053619b304dd0928 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Fri, 11 Apr 2025 20:29:58 +0200 Subject: [PATCH] Regtest: use FLAG_PIE for bug290061 Illumos GCC doesn't have -pie. Also use it for the link command. --- none/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2