]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/Makefile.config
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / tools / perf / Makefile.config
index 03cf947755b9771f7189d3acbca543f7a625ba63..2b941efadb04e34779f00c4b6348262da0fb3dd6 100644 (file)
@@ -144,8 +144,12 @@ ifndef DEBUG
 endif
 
 ifeq ($(DEBUG),0)
+ifeq ($(CC), clang)
+  CFLAGS += -O3
+else
   CFLAGS += -O6
 endif
+endif
 
 ifdef PARSER_DEBUG
   PARSER_DEBUG_BISON := -t