packages/utils/dbus/patches/01-dbus-nopie-fix.patch

24 lines
675 B
Diff
Raw Normal View History

diff -ruN dbus-1.2.4.6permissive.orig/configure dbus-1.2.4.6permissive/configure
--- dbus-1.2.4.6permissive.orig/configure 2009-05-06 13:35:38.000000000 -0400
+++ dbus-1.2.4.6permissive/configure 2009-08-05 17:53:25.000000000 -0400
@@ -20927,19 +20927,6 @@
;;
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
-
### Disabled warnings, and compiler flag overrides
# Let's just ignore unused for now