aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-13 21:25:10 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-13 21:25:10 +0000
commit1e1095862dbfb7b0806ef2a31b1a914548b52ceb (patch)
treebd4a3ebe7ebaab440e8bfb5016e2cd306e403300 /Makefile
parente160148695c99ec2d4ea29f53c8d067a6c2f89fe (diff)
x86-64 compile fixes and cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3202 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0e654157d..c5505ccf6 100755
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,12 @@ OSARCH=$(shell uname -s)
ifeq (${OSARCH},Linux)
PROC=$(shell uname -m)
+ifeq ($(PROC),x86_64)
+# You must have GCC 3.4 to use k8, otherwise use athlon
+PROC=k8
+#PROC=athlon
+OPTIONS+=-m64
+endif
else
ifeq (${OSARCH},FreeBSD)
PROC=$(shell uname -m)