Files
packages/utils
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
..
2015-03-03 00:17:36 +02:00
2015-02-16 17:01:01 +01:00
2015-02-07 10:36:02 +01:00
2014-07-18 10:54:11 +02:00
2014-11-27 14:14:54 +01:00
2014-11-27 13:41:27 +01:00
2015-02-17 16:14:40 +01:00
2014-07-25 20:57:14 +02:00
2014-12-10 15:03:07 +01:00
2015-03-09 03:39:57 +01:00
2015-03-07 10:39:53 +01:00
2015-03-07 23:28:06 +01:00
2015-02-28 12:04:51 +02:00
2015-03-11 08:56:44 +01:00
2014-12-19 12:44:13 +01:00
2014-12-14 13:06:48 +02:00
2015-03-08 17:34:15 +01:00
2014-11-18 19:33:55 +01:00
2014-10-09 14:15:30 +02:00
2014-11-20 17:45:06 +03:00
2015-01-10 15:43:33 +01:00
2014-07-23 06:28:20 -05:00
2014-07-29 22:38:10 +02:00
2015-02-03 17:11:37 +03:00
2014-08-12 21:18:56 +02:00
2014-07-28 20:30:15 -05:00
2014-07-23 01:20:55 +02:00
2014-12-07 21:01:09 -08:00
2015-03-11 23:47:25 +01:00
2014-12-14 13:04:49 +02:00
2014-11-27 10:00:07 +01:00
2015-03-08 15:26:34 +01:00
2015-03-12 23:33:36 +01:00
2014-08-14 09:30:25 -05:00
2014-09-16 00:23:17 +01:00
2014-09-30 23:24:58 +07:00