diff options
-rw-r--r-- | tools/perf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 8608c06f806e..d637aeadc166 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -171,7 +171,7 @@ endif | |||
171 | # | 171 | # |
172 | EXTRA_WARNINGS = -Wcast-align -Wformat=2 -Wshadow -Winit-self -Wpacked -Wredundant-decls -Wstack-protector -Wstrict-aliasing=3 -Wswitch-default -Wswitch-enum -Wno-system-headers -Wundef -Wvolatile-register-var -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wdeclaration-after-statement | 172 | EXTRA_WARNINGS = -Wcast-align -Wformat=2 -Wshadow -Winit-self -Wpacked -Wredundant-decls -Wstack-protector -Wstrict-aliasing=3 -Wswitch-default -Wswitch-enum -Wno-system-headers -Wundef -Wvolatile-register-var -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wdeclaration-after-statement |
173 | 173 | ||
174 | CFLAGS = $(M64) -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 $(EXTRA_WARNINGS) | 174 | CFLAGS = $(M64) -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -fstack-protector-all -D_FORTIFY_SOURCE=2 $(EXTRA_WARNINGS) |
175 | LDFLAGS = -lpthread -lrt -lelf -lm | 175 | LDFLAGS = -lpthread -lrt -lelf -lm |
176 | ALL_CFLAGS = $(CFLAGS) | 176 | ALL_CFLAGS = $(CFLAGS) |
177 | ALL_LDFLAGS = $(LDFLAGS) | 177 | ALL_LDFLAGS = $(LDFLAGS) |