logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

erlang-22.0-dont-ignore-LDFLAGS.patch (1174B)


  1. This is a forward port of erlang-20.3.2-dont-ignore-LDFLAGS.patch
  2. Anthony G. Basile <blueness@gentoo.org>
  3. diff -Naur otp-OTP-22.0.orig/lib/megaco/src/flex/Makefile.in otp-OTP-22.0/lib/megaco/src/flex/Makefile.in
  4. --- otp-OTP-22.0.orig/lib/megaco/src/flex/Makefile.in 2019-05-10 12:42:49.000000000 +0000
  5. +++ otp-OTP-22.0/lib/megaco/src/flex/Makefile.in 2019-06-04 15:53:37.899372564 +0000
  6. @@ -47,7 +47,7 @@
  7. CC = @DED_CC@
  8. CFLAGS_MT = $(CFLAGS) @DED_THR_DEFS@
  9. LD = @DED_LD@
  10. -LDFLAGS = @DED_LDFLAGS@
  11. +LDFLAGS += @DED_LDFLAGS@
  12. LEX = @LEX@
  13. LEXLIB = @LEXLIB@
  14. PERL = @PERL@
  15. diff -Naur otp-OTP-22.0.orig/lib/odbc/c_src/Makefile.in otp-OTP-22.0/lib/odbc/c_src/Makefile.in
  16. --- otp-OTP-22.0.orig/lib/odbc/c_src/Makefile.in 2019-05-10 12:42:49.000000000 +0000
  17. +++ otp-OTP-22.0/lib/odbc/c_src/Makefile.in 2019-06-04 15:53:37.900372572 +0000
  18. @@ -82,7 +82,7 @@
  19. CFLAGS = $(TYPEFLAGS) @CFLAGS@ @THR_DEFS@ @DEFS@
  20. EI_LDFLAGS = -L$(EI_ROOT)/obj$(TYPEMARKER)/$(TARGET)
  21. LD = @LD@
  22. -LDFLAGS = $(ODBC_LIB) $(EI_LDFLAGS)
  23. +LDFLAGS += $(ODBC_LIB) $(EI_LDFLAGS)
  24. LIBS = @LIBS@ @THR_LIBS@ $(EI_LIB)
  25. INCLUDES = -I. $(ODBC_INCLUDE) $(EI_INCLUDE)
  26. TARGET_FLAGS = @TARGET_FLAGS@