Unconditionally enable Q_OF_ELF for any ELF platform
authorPino Toscano <toscano.pino@tiscali.it>
Tue, 15 May 2012 12:57:05 +0000 (14:57 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 1 Jun 2012 01:16:14 +0000 (03:16 +0200)
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 <thiago.macieira@intel.com>
src/corelib/global/qglobal.h

index 5abbbe4..38655f1 100644 (file)
@@ -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__)