summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-06-21 00:36:04 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-06-21 00:36:04 +0000
commitc215abcf9126f492f6c4fb4259ddf19fc9c0d93b (patch)
treee777cbfb917eab019bf2cedc12c86b325c7123ff
parentb618040d439be2298a2fb5bea030accf36fdbfe7 (diff)
Build 64-bit on x86_64
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@414 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xMakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b0f1eb5..35d0546 100755
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ KINCLUDES=$(shell if [ -d /usr/src/linux-2.4/include ]; then echo /usr/src/linux
CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER
CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
+CFLAGS+=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi)
LCFLAGS=-fPIC $(CFLAGS) -DBUILDING_TONEZONE
KFLAGS+=-I/usr/src/linux-2.4/include -O6
KFLAGS+=-DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net \