forked from enlightenment/enlightenment
freebsd seems to require both -fPIE and -pie in cflags to compile
This commit is contained in:
parent
51fe04e6ed
commit
8d21d42e16
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue