summaryrefslogtreecommitdiff
path: root/package/dbus/patches/patch-configure
blob: e5bce51325a1d6a0148b42e1df1a9656d30b458a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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