summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorStepan Kasal2007-05-15 20:46:03 +0200
committerKarel Zak2007-05-16 11:43:29 +0200
commit3f3c9c909a41611ac5d2a9c151290296aa30a97f (patch)
treeedecba12e0a74bf4dadf9c7216db0ae8ac9dfec9 /README
parentbuild-sys: do not play with DEFS, use AM_CPPFLAGS (diff)
downloadkernel-qcow2-util-linux-3f3c9c909a41611ac5d2a9c151290296aa30a97f.tar.gz
kernel-qcow2-util-linux-3f3c9c909a41611ac5d2a9c151290296aa30a97f.tar.xz
kernel-qcow2-util-linux-3f3c9c909a41611ac5d2a9c151290296aa30a97f.zip
build-sys: add SUID_LDFLAGS
Programs which are usually installed with the setuid bit do need their own CFLAGS and LDFLAGS. SUID_LDFLAGS is analogic to SUID_CFLAGS. Signed-off-by: Stepan Kasal <skasal@redhat.com>
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 9d13336d5..8f9364f53 100644
--- a/README
+++ b/README
@@ -40,10 +40,10 @@ COMPILATION:
See the INSTALL file for more details.
Notes:
- * use SUID_CFLAGS when you want to define special compiler options
+ * use SUID_CFLAGS and SUID_LDFLAGS when you want to define special compiler options
for typical suid programs, for example:
- SUID_CFLAGS="-fpic" ./configure
+ SUID_CFLAGS="-fpie" SUID_LDFLAGS="-pie" ./configure
Now this feature is supported for chfn, chsh, newgrp, write,
mount and umount.