From: Paul Eggert Date: Mon, 13 May 2013 03:54:34 +0000 (-0700) Subject: * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -fno-pie. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~229^2~103 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=522fe43b9f491f52a9b7e6e8eaa73b656c7008ad;p=emacs.git * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -fno-pie. Reported privately by Han Boetes . --- diff --git a/ChangeLog b/ChangeLog index 101efbc3ab5..66c06254a44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-13 Paul Eggert + + * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -fno-pie. + Reported privately by Han Boetes . + 2013-05-08 Juanma Barranquero * lib/makefile.w32-in (ACL_H): New macro. diff --git a/configure.ac b/configure.ac index de3bf9d50d8..6077f35ba15 100644 --- a/configure.ac +++ b/configure.ac @@ -4273,6 +4273,8 @@ case "$opsys" in ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS. gnu*) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_RPATH)" ;; + openbsd) LD_SWITCH_SYSTEM_TEMACS='-fno-pie' ;; + *) LD_SWITCH_SYSTEM_TEMACS= ;; esac