summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-05-07 08:34:19 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-05-07 19:42:37 +0000
commitace86dca159d50886be5bcff7abe72383cad9fde (patch)
tree5082c97e8d6ed2965e050f4d20a4beff5111827b
parentb64e87f2ed6457b11594e9f4fc522860caa737ab (diff)
Revert "configure: Change default of CFG_REDUCE_RELOCATIONS to "no"."
This reverts commit d0eba497c1c34d35ddda2b5d44902ebd636d4f9e. A better fix is to use -fPIC instead of just -fPIE fo -reduce-relocations. Task-number: QTBUG-45755 Change-Id: I1759291b684fd76d4009e4be9ba1354eb056e659 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rwxr-xr-xconfigure2
-rw-r--r--tools/configure/configureapp.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 15a75bbccd..6ce6753e3f 100755
--- a/configure
+++ b/configure
@@ -674,7 +674,7 @@ CFG_SSE4_1=auto
CFG_SSE4_2=auto
CFG_AVX=auto
CFG_AVX2=auto
-CFG_REDUCE_RELOCATIONS=no
+CFG_REDUCE_RELOCATIONS=auto
CFG_ACCESSIBILITY=auto
CFG_ACCESSIBILITY_ATSPI_BRIDGE=no # will be enabled depending on dbus and accessibility being enabled
CFG_NEON=auto
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index db0791b75c..6e9d4aa80b 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -1696,7 +1696,7 @@ void Configure::applySpecSpecifics()
dictionary[ "LARGE_FILE" ] = "no";
dictionary[ "ANGLE" ] = "no";
dictionary[ "DYNAMICGL" ] = "no";
- dictionary[ "REDUCE_RELOCATIONS" ] = "no";
+ dictionary[ "REDUCE_RELOCATIONS" ] = "yes";
dictionary[ "QT_GETIFADDRS" ] = "no";
dictionary[ "QT_XKBCOMMON" ] = "no";
dictionary["ANDROID_STYLE_ASSETS"] = "yes";