packages/utils/dbus/patches/01-dbus-nopie-fix.patch
acinonyx a88609337c [packages] dbus: Fix whitespaces in no pie patch
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 22:45:11 +00:00

23 lines
490 B
Diff

--- a/configure
+++ b/configure
@@ -20927,19 +20927,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
-
### Disabled warnings, and compiler flag overrides
# Let's just ignore unused for now