From 72bd1c3228c8c816be74ab0432028424c688b979 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 15 May 2012 14:57:05 +0200 Subject: [PATCH] Unconditionally enable Q_OF_ELF for any ELF platform Just enable ELF stuff on any platform which uses ELF format, instead of a selected subsets of those. Change-Id: I0753c020c718bc67b4b50c3957fe8dc10afd2c61 Reviewed-by: Thiago Macieira --- src/corelib/global/qglobal.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 5abbbe4cf4..38655f1776 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1190,9 +1190,7 @@ Q_CORE_EXPORT int qrand(); #endif #if defined (__ELF__) -# if defined (Q_OS_LINUX) || defined (Q_OS_SOLARIS) || defined (Q_OS_FREEBSD) || defined (Q_OS_OPENBSD) || defined (Q_OS_IRIX) -# define Q_OF_ELF -# endif +# define Q_OF_ELF #endif #if !defined(QT_BOOTSTRAPPED) && defined(QT_REDUCE_RELOCATIONS) && defined(__ELF__) && !defined(__PIC__)