summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2007-04-24 11:44:19 +0200
committerKarel Zak2007-04-25 00:20:46 +0200
commit06bcee19a248efe225d744a09a44638c07685bef (patch)
tree868b6fe77db68f6ccc8bb0fa80f1ca4f85946e42 /configure.ac
parentmount: add support for mtab "uhelper" option (diff)
downloadkernel-qcow2-util-linux-06bcee19a248efe225d744a09a44638c07685bef.tar.gz
kernel-qcow2-util-linux-06bcee19a248efe225d744a09a44638c07685bef.tar.xz
kernel-qcow2-util-linux-06bcee19a248efe225d744a09a44638c07685bef.zip
build-sys: add SUID_CFLAGS
The patch allows to define special CFLAGS for typical suid programs (like mount, umount, chfn, ...). Some distributions use for example "-fpic" for suid binaries. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 66e88df8b..d24ce0995 100644
--- a/configure.ac
+++ b/configure.ac
@@ -398,6 +398,9 @@ if test x$enable_use_tty_group = xyes; then
AC_DEFINE(USE_TTY_GROUP, 1, [Should wall and write be installed setgid tty?])
fi
+
+AC_SUBST([SUID_CFLAGS])
+
CPPFLAGS="-fsigned-char -fomit-frame-pointer $CPPFLAGS"
LIBS=""