projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pinctrl-v3.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[cascardo/linux.git]
/
tools
/
perf
/
config
/
Makefile.arch
diff --git
a/tools/perf/config/Makefile.arch
b/tools/perf/config/Makefile.arch
index
4b06719
..
851cd01
100644
(file)
--- a/
tools/perf/config/Makefile.arch
+++ b/
tools/perf/config/Makefile.arch
@@
-21,3
+21,11
@@
ifeq ($(ARCH),x86_64)
RAW_ARCH := x86_64
endif
endif
+
+ifeq (${IS_X86_64}, 1)
+ IS_64_BIT := 1
+else ifeq ($(ARCH),x86)
+ IS_64_BIT := 0
+else
+ IS_64_BIT := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)
+endif