logo

overlay

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

erlang-20.3.2-dont-ignore-LDFLAGS.patch (1337B)


  1. From 69043168302ec7c0bcfaa8b1fb56bfae500bd139 Mon Sep 17 00:00:00 2001
  2. From: Nick Sarnie <commendsarnex@gmail.com>
  3. Date: Sun, 8 Apr 2018 16:11:55 -0400
  4. Subject: [PATCH] Don't ignore LDFLAGS
  5. Bug: https://bugs.gentoo.org/263129
  6. Signed-off-by: Nick Sarnie <commendsarnex@gmail.com>
  7. ---
  8. lib/megaco/src/flex/Makefile.in | 2 +-
  9. lib/odbc/c_src/Makefile.in | 2 +-
  10. 2 files changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in
  12. index c37ad4d702..400024ca0c 100644
  13. --- a/lib/megaco/src/flex/Makefile.in
  14. +++ b/lib/megaco/src/flex/Makefile.in
  15. @@ -66,7 +66,7 @@ endif
  16. CC = $(DED_CC)
  17. CFLAGS_MT = $(CFLAGS) $(DED_THR_DEFS)
  18. LD = $(DED_LD)
  19. -LDFLAGS = $(DED_LDFLAGS)
  20. +LDFLAGS += $(DED_LDFLAGS)
  21. LEX = @LEX@
  22. LEXLIB = @LEXLIB@
  23. PERL = @PERL@
  24. diff --git a/lib/odbc/c_src/Makefile.in b/lib/odbc/c_src/Makefile.in
  25. index 784e73c47e..51c023f710 100644
  26. --- a/lib/odbc/c_src/Makefile.in
  27. +++ b/lib/odbc/c_src/Makefile.in
  28. @@ -82,7 +82,7 @@ CC = @CC@
  29. CFLAGS = $(TYPEFLAGS) @CFLAGS@ @THR_DEFS@ @DEFS@
  30. EI_LDFLAGS = -L$(EI_ROOT)/obj$(TYPEMARKER)/$(TARGET)
  31. LD = @LD@
  32. -LDFLAGS = $(ODBC_LIB) $(EI_LDFLAGS)
  33. +LDFLAGS += $(ODBC_LIB) $(EI_LDFLAGS)
  34. LIBS = @LIBS@ @THR_LIBS@ $(EI_LIB)
  35. INCLUDES = -I. $(ODBC_INCLUDE) $(EI_INCLUDE)
  36. TARGET_FLAGS = @TARGET_FLAGS@
  37. --
  38. 2.17.0