Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361563
b: refs/heads/master
c: d2f3247
h: refs/heads/master
i:
  361561: e9d6831
  361559: 6c4964f
v: v3
  • Loading branch information
Marcin Slusarz authored and Arnaldo Carvalho de Melo committed Mar 13, 2013
1 parent 4f9c36d commit 78c5fef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f7439e07822942f32b9e0a66f4a3cc9c3e29e67
refs/heads/master: d2f32479e5526a1ab3b4e43910fcb279871524ce
8 changes: 7 additions & 1 deletion trunk/tools/perf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ifeq ("$(origin DEBUG)", "command line")
PERF_DEBUG = $(DEBUG)
endif
ifndef PERF_DEBUG
CFLAGS_OPTIMIZE = -O6 -D_FORTIFY_SOURCE=2
CFLAGS_OPTIMIZE = -O6
endif

ifdef PARSER_DEBUG
Expand Down Expand Up @@ -180,6 +180,12 @@ ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -Wvolatile-register-var,-W
CFLAGS := $(CFLAGS) -Wvolatile-register-var
endif

ifndef PERF_DEBUG
ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -D_FORTIFY_SOURCE=2,-D_FORTIFY_SOURCE=2),y)
CFLAGS := $(CFLAGS) -D_FORTIFY_SOURCE=2
endif
endif

### --- END CONFIGURATION SECTION ---

ifeq ($(srctree),)
Expand Down

0 comments on commit 78c5fef

Please sign in to comment.