aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>