diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-27 17:57:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-27 17:57:26 +0200 |
commit | 776f2eed7c58a9dd8f262260bb9df309eeb1796b (patch) | |
tree | e38e1c997ad1b0780b432fb6722410b70212db1f /m4/libqt.m4 | |
parent | 1be617a2b4f78d621fd04fadc51a148a115c45c1 (diff) |
Extend Qt PIC dance to autoconf tests
Diffstat (limited to 'm4/libqt.m4')
-rw-r--r-- | m4/libqt.m4 | 4 |
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> |