Re: [Linux-diag-devel] [patch 0/1] [ppc64-diag] Fixes to comply with hardened build flags used by u
Brought to you by:
hegdevasant,
mananth
From: Aruna B. <ar...@li...> - 2014-03-26 09:37:01
|
Hi, If there is only one patch then no need to send it in the series format please incorporate the patch description in the header of the same patch. As the cover letter is discarded when the patch is committed to git tree. Regards, Aruna On Tuesday 25 March 2014 06:49 PM, fr...@li... wrote: > On Ubuntu and Debian, the hardened build passes the following flags to the compilation > through env. variables. > Hence several formatting strings are mandatory. Also for that to work, the Makefile > needs to handle the env. variables. > $ dpkg-buildflags > CFLAGS=-g -O3 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security > CPPFLAGS=-D_FORTIFY_SOURCE=2 > CXXFLAGS=-g -O3 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security > FFLAGS=-g -O3 -fstack-protector --param=ssp-buffer-size=4 > GCJFLAGS=-g -O3 -fstack-protector --param=ssp-buffer-size=4 > LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Linux-diag-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-diag-devel > |