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