mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Append to CFLAGS and LDFLAGS instead of overriding them when adding -m64.
This commit is contained in:
parent
a72d743ec8
commit
db4ee0a903
@ -410,8 +410,8 @@ case "$osversion" in
|
||||
|
||||
if [ $osrelease -ge 11 ]; then
|
||||
# Build 64-bit binaries on Solaris 11 and above.
|
||||
CFLAGS="-O2 -g -m64"; export CFLAGS
|
||||
LDFLAGS="-m64"; export LDFLAGS
|
||||
CFLAGS="${CFLAGS:--O2 -g} -m64"; export CFLAGS
|
||||
LDFLAGS="-m64${LDFLAGS:+ }${LDFLAGS}"; export LDFLAGS
|
||||
# Solaris audit is not supported by Illumos
|
||||
if test X"`uname -o 2>/dev/null`" = X"illumos"; then
|
||||
configure_opts="${configure_opts}${configure_opts+$tab}--with-bsm-audit"
|
||||
|
Loading…
x
Reference in New Issue
Block a user