How to disable reentrant functions and multithreading using gcc flags? I tried with -D_REENTRANT, -U_REENTRANT, -D_REENT_ONLY, etc. it didn’t help. Or should i change anything in LDFLAGS also?
Untill now, I have only tried changing CFLAGS. PS: I am building for a baremetal environment and the _impure_ptr is messing up with my load addresses.
New contributor
Adarsh Cloud is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.