Re: [PATCH] perf, liblk: Fix _FORTIFY_SOURCE builds

2013-03-03 Thread Arnaldo Carvalho de Melo
Em Sun, Mar 03, 2013 at 08:25:33PM +0100, Borislav Petkov escreveu: > Jiri Olsa triggers the following build error: > SUBDIR ../lib/lk/ > CC debugfs.o > In file included from /usr/include/errno.h:29:0, > from debugfs.c:1: > /usr/include/features.h:314:4: error: #warning _F

[PATCH] perf, liblk: Fix _FORTIFY_SOURCE builds

2013-03-03 Thread Borislav Petkov
From: Borislav Petkov Jiri Olsa triggers the following build error: SUBDIR ../lib/lk/ CC debugfs.o In file included from /usr/include/errno.h:29:0, from debugfs.c:1: /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O)