aboutsummaryrefslogtreecommitdiff
path: root/rules/common.mk
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-17 19:33:02 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-17 19:33:02 +0400
commit1e4f4acc5bdf13f4cd3b30c686a90aecd2895830 (patch)
treee7357a2014c06e10b0590d73ae52f17c22d41ea7 /rules/common.mk
parent9b8490144b18f8e33854f4b70df768b5ea7819f1 (diff)
downloadcibs-1e4f4acc5bdf13f4cd3b30c686a90aecd2895830.tar.gz
Separate proto dirs for 32 and 64
Diffstat (limited to 'rules/common.mk')
-rw-r--r--rules/common.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/common.mk b/rules/common.mk
index 9d283f9..dec0022 100644
--- a/rules/common.mk
+++ b/rules/common.mk
@@ -37,8 +37,8 @@ mach64 := amd64
workdir := $(CURDIR)/work
sourcedir := $(workdir)/source
-destdir.32 := $(workdir)/proto
-destdir.64 := $(workdir)/proto
+destdir.32 := $(workdir)/proto/32
+destdir.64 := $(workdir)/proto/64
builddir.32 := $(workdir)/build/32
builddir.64 := $(workdir)/build/64
@@ -64,7 +64,7 @@ includedir.32 = /usr/include
includedir.64 = /usr/include
PKG_CONFIG_PATH.32 = /usr/gnu/lib/$(mach32)/pkg-config:/usr/lib/$(mach32)/pkg-config
-PKG_CONFIG_PATH.64 = /usr/gnu/lib/$(mach64)/pkg-config:/usr/lib/$(mach.64)/pkg-config
+PKG_CONFIG_PATH.64 = /usr/gnu/lib/$(mach64)/pkg-config:/usr/lib/$(mach64)/pkg-config
export PKG_CONFIG_PATH = PKG_CONFIG_PATH.$(bits)
# $(bits) are target-specific and defined in 32.mk or 64.mk