summaryrefslogtreecommitdiff
path: root/package/dbus/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'package/dbus/patches/patch-configure')
-rw-r--r--package/dbus/patches/patch-configure21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/dbus/patches/patch-configure b/package/dbus/patches/patch-configure
new file mode 100644
index 000000000..e5bce5132
--- /dev/null
+++ b/package/dbus/patches/patch-configure
@@ -0,0 +1,21 @@
+--- dbus-1.4.6.orig/configure 2011-02-17 21:06:57.000000000 +0100
++++ dbus-1.4.6/configure 2011-04-13 04:47:38.000000000 +0200
+@@ -19608,18 +19608,6 @@ if test "x$GCC" = "xyes"; then
+ ;;
+ esac
+
+- case " $CFLAGS " in
+- *[\ \ ]-fPIE[\ \ ]*) ;;
+- *) if test x$dbus_win = xno && 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
+
+ ### Disabled warnings, and compiler flag overrides
+