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 <thiago.macieira@intel.com>
bb10
Pino Toscano 2012-05-15 14:57:05 +02:00 committed by Qt by Nokia
parent 9469e9fdeb
commit 72bd1c3228
1 changed files with 1 additions and 3 deletions

View 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__)