From 83992afea72b6c30768e2479f4dbaaf336380ecc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 14 May 2026 14:15:55 +0100 Subject: [PATCH] ITS#10504 lmdb: silence warning on MacOS linker --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index fe1fd6db0c..4f8c9935a9 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -288,7 +288,7 @@ union semun { /* On older compilers, use a separate section */ # ifdef __GNUC__ # ifdef __APPLE__ -# define ESECT __attribute__ ((section("__TEXT,text_env"))) +# define ESECT __attribute__ ((section("__TEXT,text_env,regular,pure_instructions"))) # else # define ESECT __attribute__ ((section("text_env"))) # endif