D_FORTIFY_SOURCE in clang

Hi All,

May I ask if CLANG has an option to disable Fortify feature please? The GCC provides a flag -D_FORTIFY_SOURCE that can be set to ‘0’ to disable that feature.

cheers,

Ahmad

Just to keep others in loop. The fortify can be disabled in clang by modifying the Makefile as:

CPP.Flags += -U_FORTIFY_SOURCE

CPP.Flags += -D_FORTIFY_SOURCE=0

Cheers,

Ahmad