[package] fix dbus compilation error with brcm-2.4 and gcc-3.4.6 (#6942)
[openwrt/svn-archive/archive.git] / utils / dbus / patches / 01-dbus-nopie-fix.patch
1 --- a/configure
2 +++ b/configure
3 @@ -20927,19 +20927,6 @@ if test "x$GCC" = "xyes"; then
4 ;;
5 esac
6
7 - case " $CFLAGS " in
8 - *[\ \ ]-fPIE[\ \ ]*) ;;
9 - *) if cc_supports_flag -fPIE; then
10 - PIE_CFLAGS="-fPIE"
11 - if ld_supports_flag -z,relro; then
12 - PIE_LDFLAGS="-pie -Wl,-z,relro"
13 - else
14 - PIE_LDFLAGS="-pie"
15 - fi
16 - fi
17 - ;;
18 - esac
19 -
20 ### Disabled warnings, and compiler flag overrides
21
22 # Let's just ignore unused for now