diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2012-04-16 17:03:09 -0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-17 20:06:47 +0200 |
commit | e7656d7e9878b19b12929bb0285bc3a1b7840046 (patch) | |
tree | b457680b53d77d4c9ab7e6e4b2d7af17a65cc8e9 /mkspecs | |
parent | 67a4943781d97121605769b1dbc3cfbf6019803b (diff) |
Do not define QT_AOUT_UNDERSCORE in freebsd-g++'s mkspec.
According to FreeBSD svn r52802 from 1999 the -aout compiler option and
the QT_AOUT_UNDERSCORE trick were already obsolete.
Since the FreeBSD project itself only supports versions 7 and above
these days, the definition can be safely removed.
Cherry-picked from 874ebef4535e5ae43d917595f00edd365150cfd9 to
qt5/qtbase.
Change-Id: I93717e7c937f05b36580914608a3d2d1177ef7d6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/freebsd-g++/qplatformdefs.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mkspecs/freebsd-g++/qplatformdefs.h b/mkspecs/freebsd-g++/qplatformdefs.h index 27d0db41ba..d5446df61c 100644 --- a/mkspecs/freebsd-g++/qplatformdefs.h +++ b/mkspecs/freebsd-g++/qplatformdefs.h @@ -85,15 +85,4 @@ #define QT_SNPRINTF ::snprintf #define QT_VSNPRINTF ::vsnprintf -// Older FreeBSD versions may still use the a.out format instead of ELF. -// From the FreeBSD man pages: -// In previous implementations, it was necessary to prepend an -// underscore to all external symbols in order to gain symbol -// compatibility with object code compiled from the C language. -// This is still the case when using the (obsolete) -aout option to -// the C language compiler. -#ifndef __ELF__ -#define QT_AOUT_UNDERSCORE -#endif - #endif // QPLATFORMDEFS_H |