mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
ppc64_linux26: build binaries as 64-bit by default
lwp doesnt work since ucontext/setjmp are incomplete when running 32-bit
binaries with the 64-bit kernel.
Reviewed-on: http://gerrit.openafs.org/5365
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 39b788eeaf
)
Change-Id: Ic4fd5c1a861db8e96dd58a79d7fb2ea73ab4f0d6
Reviewed-on: http://gerrit.openafs.org/9605
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
This commit is contained in:
parent
9be556d2c1
commit
b8a7861ed0
@ -258,8 +258,11 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE -fPIC"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE -fPIC -m64"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
SHLIB_LINKER="${MT_CC} -shared -m64"
|
||||
XLDFLAGS="-m64"
|
||||
ASFLAGS="-a64"
|
||||
;;
|
||||
|
||||
i386_linux*)
|
||||
@ -831,6 +834,7 @@ AC_SUBST(AIX32)
|
||||
AC_SUBST(AIX64)
|
||||
AC_SUBST(AR)
|
||||
AC_SUBST(AS)
|
||||
AC_SUBST(ASFLAGS)
|
||||
AC_SUBST(CP)
|
||||
AC_SUBST(DBG)
|
||||
AC_SUBST(FSINCLUDES)
|
||||
|
@ -32,6 +32,7 @@ viceetcdir=@viceetcdir@
|
||||
#
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
ASFLAGS = @ASFLAGS@
|
||||
AFSD_LIBS = @AFSD_LIBS@
|
||||
AFSD_LDFLAGS = @AFSD_LDFLAGS@
|
||||
CC = @CC@
|
||||
|
@ -389,7 +389,7 @@ syscall.o: ${SYS}/syscall.s
|
||||
${CC} ${AFS_CFLAGS} -c syscall.c;; \
|
||||
*) \
|
||||
$(PATH_CPP) ${SFLAGS} ${SYS}/syscall.s > syscall.ss; \
|
||||
as -o syscall.o syscall.ss; \
|
||||
as $(ASFLAGS) -o syscall.o syscall.ss; \
|
||||
$(RM) syscall.ss;; \
|
||||
esac
|
||||
|
||||
|
@ -31,7 +31,7 @@ CFLAGS+= -I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KOPTS) $
|
||||
OPTF=-O
|
||||
# WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD
|
||||
|
||||
TEST_CFLAGS=-pthread -D_REENTRANT -DAFS_PTHREAD_ENV -DAFS_LINUX22_ENV
|
||||
TEST_CFLAGS=-pthread -D_REENTRANT -DAFS_PTHREAD_ENV -DAFS_LINUX22_ENV $(XCFLAGS)
|
||||
TEST_LDFLAGS=
|
||||
TEST_LIBS=-lpthread
|
||||
|
||||
|
@ -404,7 +404,7 @@ syscall.o: ${SYS}/syscall.s
|
||||
${CC} ${CFLAGS} -c syscall.c;; \
|
||||
*) \
|
||||
$(PATH_CPP) ${SFLAGS} ${SYS}/syscall.s > syscall.ss; \
|
||||
as -o syscall.o syscall.ss; \
|
||||
as $(ASFLAGS) -o syscall.o syscall.ss; \
|
||||
$(RM) syscall.ss;; \
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user