- re-add pie support now that it's been fixed on powerpc

This commit is contained in:
ajacoutot 2009-01-19 11:56:43 +00:00
parent 3240b4fb84
commit 1832f492c5
2 changed files with 2 additions and 28 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.21 2009/01/06 10:16:52 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.22 2009/01/19 11:56:43 ajacoutot Exp $
COMMENT= message bus system
DISTNAME= dbus-1.2.6
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
SHARED_LIBS+= dbus-1 7.0
CATEGORIES= x11

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-configure,v 1.1 2009/01/06 10:16:52 ajacoutot Exp $
Do not use -fPIE, it gives empty unresolved symbols on powerpc.
--- configure.orig Mon Jan 5 11:51:16 2009
+++ configure Mon Jan 5 11:51:24 2009
@@ -20974,19 +20974,6 @@ if test "x$GCC" = "xyes"; then
;;
esac
- case " $CFLAGS " in
- *[\ \ ]-fPIE[\ \ ]*) ;;
- *) if cc_supports_flag -fPIE; then
- PIE_CFLAGS="-fPIE"
- if ld_supports_flag -z,relro; then
- PIE_LDFLAGS="-pie -Wl,-z,relro"
- else
- PIE_LDFLAGS="-pie"
- fi
- fi
- ;;
- esac
-
if test "x$enable_ansi" = "xyes"; then
case " $CFLAGS " in
*[\ \ ]-ansi[\ \ ]*) ;;