- don't build with pie, it gives empty unresolved symbols on powerpc
ok todd@
This commit is contained in:
parent
462ee639ce
commit
1bc053e624
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2008/12/09 14:14:45 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2009/01/06 10:16:52 ajacoutot Exp $
|
||||
|
||||
COMMENT= message bus system
|
||||
|
||||
DISTNAME= dbus-1.2.6
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
SHARED_LIBS+= dbus-1 7.0
|
||||
CATEGORIES= x11
|
||||
|
||||
|
26
x11/dbus/patches/patch-configure
Normal file
26
x11/dbus/patches/patch-configure
Normal file
@ -0,0 +1,26 @@
|
||||
$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[\ \ ]*) ;;
|
Loading…
Reference in New Issue
Block a user