From this issue, since you say it’s the arduino-esp32 you’re trying to change this on, it looks like it’s a bit of an involved process… where you need to rebuild libesp32.a with the right flags set, and then add some extra lines to your code to actually use it…