A new user interface for you! Read more...

File otp_src_17.4.1-beam-ldflags.patch of Package erlang

diff -Ndur otp_src_17.4.1/erts/emulator/Makefile.in otp_src_17.4.1-beam-ldflags/erts/emulator/Makefile.in
--- otp_src_17.4.1/erts/emulator/Makefile.in	2015-01-30 17:57:06.000000000 +0200
+++ otp_src_17.4.1-beam-ldflags/erts/emulator/Makefile.in	2015-02-20 22:15:18.375317423 +0200
@@ -1028,6 +1028,7 @@
 # Only the basic erlang to begin with eh?
 $(BINDIR)/$(EMULATOR_EXECUTABLE): $(INIT_OBJS) $(OBJS) $(DEPLIBS)
 	$(ld_verbose)$(PURIFY) $(LD) -dll -def:sys/$(ERLANG_OSTYPE)/erl.def -implib:$(BINDIR)/erl_dll.lib -o $(BINDIR)/$(EMULATOR_EXECUTABLE) \
+	$(BEAMLDFLAGS) \
 	$(LDFLAGS) $(DEXPORT) $(INIT_OBJS) $(OBJS) $(STATIC_NIF_LIBS) \
 	$(STATIC_DRIVER_LIBS) $(LIBS)
 
@@ -1040,6 +1041,7 @@
 else
 $(BINDIR)/$(EMULATOR_EXECUTABLE): $(INIT_OBJS) $(OBJS) $(DEPLIBS)
 	$(ld_verbose)$(PURIFY) $(LD) -o $(BINDIR)/$(EMULATOR_EXECUTABLE) \
+	$(BEAMLDFLAGS) \
 	$(HIPEBEAMLDFLAGS) $(LDFLAGS) $(DEXPORT) $(INIT_OBJS) $(OBJS) \
 	$(STATIC_NIF_LIBS) $(STATIC_DRIVER_LIBS) $(LIBS)