LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File otp_src_R15B03-1-beam-ldflags.patch of Package erlang (Project home:Ledest:erlang:R15)

diff -Ndur otp_src_R15B03-1/erts/emulator/Makefile.in otp_src_R15B03-1-beam-ldflags/erts/emulator/Makefile.in
--- otp_src_R15B03-1/erts/emulator/Makefile.in	2012-12-06 16:02:45.000000000 +0200
+++ otp_src_R15B03-1-beam-ldflags/erts/emulator/Makefile.in	2015-02-10 11:44:17.120764470 +0200
@@ -964,13 +964,13 @@
 # Only the basic erlang to begin with eh?
 $(BINDIR)/$(EMULATOR_EXECUTABLE): $(INIT_OBJS) $(OBJS) $(DEPLIBS)
 	$(PURIFY) $(LD) -dll -def:sys/$(ERLANG_OSTYPE)/erl.def -implib:$(BINDIR)/erl_dll.lib -o $(BINDIR)/$(EMULATOR_EXECUTABLE) \
-	$(LDFLAGS) $(DEXPORT) $(INIT_OBJS) $(OBJS) $(LIBS)
+	$(BEAMLDFLAGS) $(LDFLAGS) $(DEXPORT) $(INIT_OBJS) $(OBJS) $(LIBS)
 else
 
 
 $(BINDIR)/$(EMULATOR_EXECUTABLE): $(INIT_OBJS) $(OBJS) $(DEPLIBS)
 	$(PURIFY) $(LD) -o $(BINDIR)/$(EMULATOR_EXECUTABLE) \
-	$(HIPEBEAMLDFLAGS) $(LDFLAGS) $(DEXPORT) $(INIT_OBJS) $(OBJS) $(LIBS)
+	$(BEAMLDFLAGS) $(HIPEBEAMLDFLAGS) $(LDFLAGS) $(DEXPORT) $(INIT_OBJS) $(OBJS) $(LIBS)
 
 endif