Bug 975734 - Port the LDFLAGS variables in toolkit/crashreporter/injector/Makefile.in to moz.build; r=mshal

This commit is contained in:
Ehsan Akhgari 2014-02-26 21:40:07 -05:00
parent a1909fa87d
commit e249ccbbef
2 changed files with 5 additions and 7 deletions

View File

@ -6,9 +6,3 @@ STL_FLAGS =
MOZ_GLUE_LDFLAGS =
include $(topsrcdir)/config/rules.mk
ifndef GNU_CC
LDFLAGS += -ENTRY:DummyEntryPoint
else
LDFLAGS += -Wl,-e,_DummyEntryPoint@12
endif

View File

@ -18,5 +18,9 @@ LOCAL_INCLUDES += [
'/toolkit/crashreporter/google-breakpad/src',
]
USE_STATIC_LIBS = True
if CONFIG['GNU_CC']:
LDFLAGS += ['-Wl,-e,_DummyEntryPoint@12']
else:
LDFLAGS += ['-ENTRY:DummyEntryPoint']