Skip to content

Commit

Permalink
Bug 1167474 - Remove ELFHACK_BUILD hack. r=mshal
Browse files Browse the repository at this point in the history
It used to be necessary because of how elfhack was built in the past, but it
happens to be unnecessary nowadays.
  • Loading branch information
glandium committed May 26, 2015
1 parent 3ed4827 commit 136a74d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions build/unix/elfhack/inject/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ GENERATED_SOURCES += [
"%s.c" % cpu,
]

DEFINES['ELFHACK_BUILD'] = True

NO_PGO = True

NO_VISIBILITY_FLAGS = True
2 changes: 0 additions & 2 deletions build/unix/elfhack/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,4 @@ HOST_SOURCES += [

HostProgram('elfhack')

DEFINES['ELFHACK_BUILD'] = True

NO_PGO = True
5 changes: 1 addition & 4 deletions mozilla-config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 136a74d

Please sign in to comment.