openbsd-ports/net/ladvd/patches/patch-configure_ac

16 lines
407 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure_ac,v 1.3 2010/09/27 19:26:06 weerd Exp $
Disable PIE on ARM and HPPA
--- configure.ac.orig Tue Sep 21 09:52:07 2010
+++ configure.ac Thu Sep 23 11:26:58 2010
@@ -35,6 +35,10 @@ case "$target_os" in
use_pie=no
;;
openbsd*)
+ case "$target" in
+ arm-*-openbsd*) use_pie=no;;
+ hppa-*-openbsd*) use_pie=no;;
+ esac
;;
*)
AC_MSG_ERROR([Unsupported operating system])