summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-04 20:20:44 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-04 20:20:44 +0200
commit295eb0c879802eacff46cf3c962646363d81f6d3 (patch)
tree7af9c2052e56609de31791d831901c231109e10b /acinclude.m4
parent38173720e09c1310e198cc04bee3b054926e573a (diff)
Re-enable PIE support and enable it by default
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index bb869902..0d170b2f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -141,7 +141,7 @@ AC_DEFUN([AC_PATH_SNDFILE], [
AC_DEFUN([AC_ARG_BLUEZ], [
debug_enable=no
fortify_enable=yes
- pie_enable=no
+ pie_enable=yes
sndfile_enable=${sndfile_found}
netlink_enable=no
usb_enable=${usb_found}
@@ -266,7 +266,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
fi
if (test "${pie_enable}" = "yes" && test "${ac_cv_prog_cc_pie}" = "yes"); then
- CFLAGS="$CFLAGS -fPIE"
+ CFLAGS="$CFLAGS -fPIC"
LDFLAGS="$LDFLAGS -pie"
fi