diff options
author | hubertf <hubertf@pkgsrc.org> | 2006-12-01 10:55:24 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2006-12-01 10:55:24 +0000 |
commit | cdfb109833a9ae76467e53dfd719dcc94ea7719e (patch) | |
tree | 56cf03493b4e98197e21b156ac271e810ac7d604 /lang/spidermonkey/files/pkgsrc.mk | |
parent | 25f8ff738bd19612cf7f5930d3147905d17f39ca (diff) | |
download | pkgsrc-cdfb109833a9ae76467e53dfd719dcc94ea7719e.tar.gz |
uname -m returns amd64, not x86_86.
Reported and tested by Blair Sadewitz (blair.sadewitz at gmail dot com)
Diffstat (limited to 'lang/spidermonkey/files/pkgsrc.mk')
-rw-r--r-- | lang/spidermonkey/files/pkgsrc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/spidermonkey/files/pkgsrc.mk b/lang/spidermonkey/files/pkgsrc.mk index 88707f95a1c..a835d0418d4 100644 --- a/lang/spidermonkey/files/pkgsrc.mk +++ b/lang/spidermonkey/files/pkgsrc.mk @@ -54,7 +54,7 @@ MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS) CPU_ARCH = $(shell uname -m) # don't filter in x86-64 architecture -ifneq (x86_64,$(CPU_ARCH)) +ifneq (amd64,$(CPU_ARCH)) ifeq (86,$(findstring 86,$(CPU_ARCH))) CPU_ARCH = x86 OS_CFLAGS+= -DX86_LINUX @@ -90,7 +90,7 @@ endif # Use the editline library to provide line-editing support. JS_EDITLINE = 1 -ifeq ($(CPU_ARCH),x86_64) +ifeq ($(CPU_ARCH),amd64) # Use VA_COPY() standard macro on x86-64 # FIXME: better use it everywhere OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy |