aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-27 17:57:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-27 17:57:26 +0200
commit776f2eed7c58a9dd8f262260bb9df309eeb1796b (patch)
treee38e1c997ad1b0780b432fb6722410b70212db1f
parent1be617a2b4f78d621fd04fadc51a148a115c45c1 (diff)
Extend Qt PIC dance to autoconf tests
-rw-r--r--m4/libqt.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/libqt.m4 b/m4/libqt.m4
index c4e7118..f1e67ce 100644
--- a/m4/libqt.m4
+++ b/m4/libqt.m4
@@ -11,10 +11,10 @@ AC_LANG_SOURCE([
// See libodb-qt/odb/qt/details/config.hxx for more information on
// what's going on here.
//
-# if defined(__ELF__) && !defined(__PIC__) && !defined(__PIE__)
+# if defined(__ELF__) && !defined(__PIC__)
# include <QtCore/qconfig.h> // QT_REDUCE_RELOCATIONS
# ifdef QT_REDUCE_RELOCATIONS
-# define __PIE__
+# define __PIC__
# endif
# endif
#include <string>