a88609337c
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17205 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
490 B
Diff
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
|