_FORTIFY_SOURCE warnings

Hi All,

I have modified the Makefile inside llvm/tools/clang and added the following flag:

CPP.Flags += -D_FORTIFY_SOURCE=0

But when I build clang using ‘make’ then I get lot of warnings like:

:0:0: warning: “_FORTIFY_SOURCE” redefined [enabled by default]

:0:0: note: this is the location of the previous definition

Is this expected behaviour?

Thanks

Cheers, Ahmad