aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-11-21 15:49:12 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2014-11-21 15:49:29 +0000
commit8d21d42e163c3929baca4c2b8da30e3ee97d6f76 (patch)
treec36c0399529836dc66af07decc2e74c2a25ade77 /configure.ac
parentwizard: Fix the resolving of the FIXME comment (diff)
downloadenlightenment-8d21d42e163c3929baca4c2b8da30e3ee97d6f76.tar.gz
freebsd seems to require both -fPIE and -pie in cflags to compile
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 942c72112..eb5b374a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1023,6 +1023,11 @@ m4_ifndef([v_rel],
SUID_CFLAGS=-fPIE
SUID_LDFLAGS=-pie
+case "$host_os" in
+ freebsd*|pcbsd*)
+ SUID_CFLAGS=-fPIE -pie
+ ;;
+esac
AC_SUBST([SUID_CFLAGS])
AC_SUBST([SUID_LDFLAGS])