]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Linux regtest: fix for memcheck/tests/amd64/bug492210
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Sep 2024 18:22:10 +0000 (18:22 +0000)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Sep 2024 18:22:10 +0000 (18:22 +0000)
On Arch Linux I get an error concerning the use of PIE and
an uninitialized variable warning. Add the no PIE flag
and also turn off the warning.

memcheck/tests/amd64/Makefile.am

index c0139bdb20c57eb36ff97477c21bb5985464b26f..05299a752e0a7ea7aace7251f310e1dad35f2290 100644 (file)
@@ -81,6 +81,7 @@ AM_CFLAGS    += @FLAG_M64@
 AM_CXXFLAGS  += @FLAG_M64@
 AM_CCASFLAGS += @FLAG_M64@
 
+bug492210_CFLAGS       = ${AM_CFLAGS} @FLAG_NO_PIE@ @FLAG_W_NO_UNINITIALIZED@
 fxsave_amd64_CFLAGS    = $(AM_CFLAGS) @FLAG_NO_PIE@
 insn_pcmpistri_CFLAGS  = $(AM_CFLAGS)
 more_x87_fp_CFLAGS     = $(AM_CFLAGS) -O -ffast-math -mfpmath=387 \