OpenBSD: Change code optimization setting

Change the optimization level set when optimization is
enabled during build from the sytem default of '-O' to
'-O2' for OpenBSD systems.

Change-Id: I20962c124da5426409638453e1efdd37b4e5f393
Reviewed-on: http://gerrit.openafs.org/3689
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Antoine Verheijen 2011-01-19 16:06:03 -07:00 committed by Derrick Brashear
parent 8b932375ec
commit 02a1eb4aae

View File

@ -367,7 +367,10 @@ case $AFS_SYSNAME in
;;
*_obsd*)
KERN_OPTMZ=-O2
MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
LWP_OPTMZ=-O2
OPTMZ=-O2
PAM_OPTMZ=-O2
PAM_CFLAGS="-pipe -fpic"
SHLIB_CFLAGS="-fpic"