Bug 1167474 - Remove ELFHACK_BUILD hack. r=mshal

It used to be necessary because of how elfhack was built in the past, but it
happens to be unnecessary nowadays.
This commit is contained in:
Mike Hommey 2015-05-22 10:44:05 +09:00
Родитель 4c5c129216
Коммит 9acae632d9
3 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

@ -17,8 +17,6 @@ GENERATED_SOURCES += [
"%s.c" % cpu,
]
DEFINES['ELFHACK_BUILD'] = True
NO_PGO = True
NO_VISIBILITY_FLAGS = True

Просмотреть файл

@ -25,6 +25,4 @@ HOST_SOURCES += [
HostProgram('elfhack')
DEFINES['ELFHACK_BUILD'] = True
NO_PGO = True

Просмотреть файл

@ -41,11 +41,8 @@
* Note that this should be the first #include to make sure that prtypes.h does
* not attempt to define PRUnichar. This includes the following hunspell-specific
* includes.
*
* We don't use this to build elfhack and elf-dynstr-gc since those builds happen
* during the export tier. Also, disable this when building assembly files too.
*/
#if !defined(ELFHACK_BUILD) && !defined(__ASSEMBLER__)
#if !defined(__ASSEMBLER__)
#include "mozilla/Char16.h"
#endif