summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-06-03 16:06:25 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-06-03 16:06:25 +0000
commit1148ac4e7cba6f40fe8984dfcc3b98f0eea87106 (patch)
tree15cd62e4b96d3e2754d4d479e981a343b7924cad
parent3ea552d0af86a00f6c87c541f2cc3f2d601be70e (diff)
fix issue with x86_64 on 2.4 kernels
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@662 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 440e011..6c82a7d 100755
--- a/Makefile
+++ b/Makefile
@@ -34,11 +34,11 @@ ifneq (,$(wildcard $(KINCLUDES)/linux/modversions.h))
endif
KFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-msoft-float -fsigned-char"; fi)
KFLAGS+=$(KFLAGS_PPC)
+KFLAGS+=$(shell if uname -r | grep -q 2.4; then if uname -m | grep -q x86_64; then echo "-mcmodel=kernel"; fi; fi)
#
# Features are now configured in zconfig.h
#
-#
KFLAGS+=-DSTANDALONE_ZAPATA
CFLAGS+=-DSTANDALONE_ZAPATA