Commit graph

5 commits

Author SHA1 Message Date
Daniel Golle
692ee8cf18 mmc-utils: bump to 2015-03-25 snapshot
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-03 22:17:48 +02:00
Daniel Golle
360122ed5d 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>
2015-04-03 22:17:07 +02:00
Daniel Golle
ba4338d6f7 mmc-utils: don't set -D_FORTIFY_SOURCE in Makefile
Now that security features are set globally, having the
FORTIFY_SOURCE option set in Makefile breaks the build when
CONFIG_PKG_FORTIFY_SOURCE_{1,2} is enabled as well.

arm-openwrt-linux-uclibcgnueabi-gcc  -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Os -pipe -march=armv6k -mtune=mpcore -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -mfloat-abi=soft -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wp,-MMD,./.mmc.o.d,-MT,mmc.o -c mmc.c -o mmc.o
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>:0:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
Makefile:35: recipe for target 'mmc.o' failed

Fix this by removing -D_FORTIFY_SOURCE=2 from Makefile.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-03-15 20:51:51 +01:00
Michael Heimpold
ec44072a4c mmc-utils: fix typo in Makefile
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-03-07 22:47:51 +01:00
Michael Heimpold
a05ece16a9 mmc-utils: add new package
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-03-06 23:31:54 +01:00