]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Darwin and FreeBSD: and the two platforms to the check that 32bit executables can...
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 18 Dec 2025 07:36:25 +0000 (08:36 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 18 Dec 2025 07:36:25 +0000 (08:36 +0100)
I don't think that I've ever tested this on a FreeBSD amd64 install without 32bit support.

This check is required on Darwin 19 and later.

configure.ac

index 1a374999bdad4b49405e58bec0e9bb304eaff287..55d26b2a51480ce0932448bd1500743f1dbd80fc 100644 (file)
@@ -682,7 +682,7 @@ esac
 # does not support building 32 bit programs
 
 case "$ARCH_MAX-$VGCONF_OS" in
-     amd64-linux|ppc64be-linux|arm64-linux|amd64-solaris)
+     amd64-linux|ppc64be-linux|arm64-linux|amd64-solaris|amd64-darwin|amd64-freebsd)
         AC_MSG_CHECKING([for 32 bit build support])
         safe_CFLAGS=$CFLAGS
         CFLAGS="-m32"