I have compiled the dictionary and software for a .so using
g++ -c -O2 -Wall -fPIC
root-config --cflags -c
and wonder what flags are used by --cflags.
I got a .so to load in ROOT with out any undefined symbols errors and wondered if it was the change in the flags used or a change in the config.h file.
I know, I should just test both ways but would still wonder what is included in --cflags.