mmc-utils: restore FORTIFY_SOURCE=2
authorDaniel Golle <daniel@makrotopia.org>
Thu, 2 Apr 2015 20:18:05 +0000 (22:18 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Fri, 3 Apr 2015 20:17:07 +0000 (22:17 +0200)
commit360122ed5d417d6bb820bb07fe5f007950a8ad65
tree96ba46c06971ea4a90507d4e609bee609d5bf7a9
parent822c18cb8768a3448109909304623b4136944d7f
mmc-utils: restore FORTIFY_SOURCE=2

The previous commit
ba4338d mmc-utils: don't set -D_FORTIFY_SOURCE in Makefile
applied the global value of FORITFY_SOURCE also to mmc-utils.
As the package was meant to be built with FORTIFY_SOURCE upstream,
restore that behaviour and make it play nice with the global setting
by undefining the macro before defining it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/mmc-utils/patches/001-dont-set-fortify-source-in-makefile.patch [deleted file]
utils/mmc-utils/patches/001-properly-set-fortify-source-in-makefile.patch [new file with mode: 0644]