2009-08-09 22:45:11 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
|
|
|
@@ -20927,19 +20927,6 @@ if test "x$GCC" = "xyes"; then
|
2009-08-05 22:20:49 +00:00
|
|
|
;;
|
|
|
|
esac
|
2009-08-09 22:45:11 +00:00
|
|
|
|
2009-08-05 22:20:49 +00:00
|
|
|
- case " $CFLAGS " in
|
2009-08-09 22:45:11 +00:00
|
|
|
- *[\ \ ]-fPIE[\ \ ]*) ;;
|
2009-08-05 22:20:49 +00:00
|
|
|
- *) 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
|
2009-08-09 22:45:11 +00:00
|
|
|
|
2009-08-05 22:20:49 +00:00
|
|
|
# Let's just ignore unused for now
|