mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
Remove -D_LARGEFILE64_SOURCE on Linux
Since 129b6954a6f491c6f3c3e417055bdc68d4726408, we've defined GNU_SOURCE on all Linux builds. This definition automatically sets _LARGEFILE64_SOURCE for us, so we don't need to explicitly set it in the platform specific configuration. Change-Id: I3d60a1eacbb045cdac283d9fe38261154740ef1b Reviewed-on: http://gerrit.openafs.org/4172 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
10da36ff0d
commit
a23b83391e
@ -81,7 +81,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -93,7 +92,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -105,7 +103,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -117,7 +114,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -129,7 +125,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -268,7 +263,7 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE -G0"
|
||||
XCFLAGS="-G0"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -280,7 +275,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -291,7 +285,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -302,7 +295,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE -fPIC"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -313,7 +305,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -328,7 +319,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -344,7 +334,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -360,7 +349,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -384,7 +372,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -491,7 +478,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -576,7 +562,6 @@ case $AFS_SYSNAME in
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
OPTMZ=-O
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -589,7 +574,6 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -604,7 +588,7 @@ case $AFS_SYSNAME in
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x -Xlinker -Bsymbolic"
|
||||
OPTMZ=-O
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE -D__s390x__"
|
||||
XCFLAGS="-D__s390x__"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
||||
@ -672,8 +656,7 @@ case $AFS_SYSNAME in
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LDFLAGS="-shared -Xlinker -x"
|
||||
XCFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
XCFLAGS64="-D_LARGEFILE64_SOURCE -m64"
|
||||
XCFLAGS64="-m64"
|
||||
XLDFLAGS64="-m64"
|
||||
SHLIB_LINKER="${MT_CC} -shared"
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user