mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
Don't use KERN_OPTMZ or KERN_DBG on Linux 2.6
With 2.6 Linux kernels, we just use the standard Kernel build system. As this system pays no attention to our settings of KERN_OPTMZ or KERN_DBG, don't bother setting values for these for 2.6 kernels. Change-Id: Ibb2302d63ecf3e32a24321028df6a9aad45769fc Reviewed-on: http://gerrit.openafs.org/4173 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
a23b83391e
commit
433efb44ed
@ -97,7 +97,6 @@ case $AFS_SYSNAME in
|
||||
|
||||
alpha_linux_26)
|
||||
CCOBJ="${CC} -fPIC"
|
||||
KERN_OPTMZ=-O2
|
||||
MT_CFLAGS='-pthread -D_REENTRANT'
|
||||
PAM_OPTMZ=-O2
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
@ -119,7 +118,6 @@ case $AFS_SYSNAME in
|
||||
|
||||
arm_linux26)
|
||||
CCOBJ="${CC} -fPIC"
|
||||
KERN_OPTMZ=-O2
|
||||
MT_CFLAGS='-pthread -D_REENTRANT'
|
||||
PAM_OPTMZ=-O2
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
@ -289,7 +287,6 @@ case $AFS_SYSNAME in
|
||||
;;
|
||||
|
||||
ppc64_linux26)
|
||||
KERN_OPTMZ=-O2
|
||||
MT_CFLAGS='-pthread -D_REENTRANT'
|
||||
PAM_OPTMZ=-O2
|
||||
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
|
||||
@ -338,10 +335,8 @@ case $AFS_SYSNAME in
|
||||
;;
|
||||
|
||||
i386_umlinux26)
|
||||
KERN_OPTMZ=-O2
|
||||
MT_CFLAGS='-pthread -D_REENTRANT'
|
||||
DBG=-g
|
||||
KERN_DBG=-g
|
||||
LWP_DBG=-g
|
||||
LWP_OPTMZ=-O2
|
||||
OPTMZ=-O2
|
||||
|
Loading…
x
Reference in New Issue
Block a user