From bb044160faf4ae7615ddfdb17641dd88c33cde57 Mon Sep 17 00:00:00 2001 From: Sakib Sajal Date: Thu, 31 Mar 2022 15:09:58 -0400 Subject: [PATCH] drbdmon: add LDFLAGS when linking Upstream-Status: Pending Signed-off-by: Sakib Sajal --- user/drbdmon/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/drbdmon/Makefile.in b/user/drbdmon/Makefile.in index 7bd8987e..115a81b8 100644 --- a/user/drbdmon/Makefile.in +++ b/user/drbdmon/Makefile.in @@ -1,6 +1,6 @@ CXXFLAGS=-std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 \ -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits \ --Wmissing-declarations -Wshadow +-Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field CXX = @CXX@ LIBS = @LIBS@ @@ -72,7 +72,7 @@ $(dsaext-obj): $(basename $(dsaext-obj)).cpp $(basename $(dsaext-obj)).h $(integerparse-obj): $(basename $(integerparse-obj)).cpp $(basename $(integerparse-obj)).h drbdmon: $(ls-obj) - $(CXX) -o $@ $(CPPFLAGS) $(CXXFLAGS) $^ $(LIBS) + $(CXX) -o $@ $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBS) # do not try to rebuild Makefile itself Makefile: ;