Karl MacMillan wrote:

> > This largish patch makes the build and installation work on 64bit
> > machines. The only catch here is that to get a 64bit build you need to
> > set LIBDIR on make:
> >
> > make install LIBDIR=/usr/lib64
> >
> > The spec file does this correctly. I couldn't find any reliable way to
> > guess this that works both on real systems and in the almost entirely
> > empty rpm build root (you can't, for example, check for the existence
> > of /usr/lib64).
This commit is contained in:
Karl MacMillan
-
parent aaa992b744
commit d2a19b2009
16 changed files with 72 additions and 87 deletions

View File

@@ -4,9 +4,6 @@ PRJ_PREFIX=freeipa
RPMBUILD ?= $(PWD)/rpmbuild
# set to 1 to produce a debug build of all subprojects
#DEBUG=1
# Version numbers - this is for the entire server. After
# updating this you should run the version-update
# target.
@@ -38,12 +35,6 @@ CLI_VERSION=$(CLI_MAJOR).$(CLI_MINOR).$(CLI_RELEASE)
CLI_TARBALL_PREFIX=$(PRJ_PREFIX)-client-$(CLI_VERSION)
CLI_TARBALL=$(CLI_TARBALL_PREFIX).tgz
ifeq ($(DEBUG),1)
export CFLAGS = -g -Wall -Wshadow
export LDFLAGS = -g
endif
all:
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \