1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Remove CFLAGS from the linker command for dh_strip - comply with Debian
policy (section 10.1 "Binaries") for #436817
Index: elinks/Makefile.lib
===================================================================
--- elinks.orig/Makefile.lib 2023-04-14 03:40:28.264049745 +0200
+++ elinks/Makefile.lib 2023-04-14 03:41:44.935046117 +0200
@@ -67,7 +67,7 @@
`test -e $(subdir)/$(LIB_O_NAME) && echo $(subdir)/$(LIB_O_NAME)`)
quiet_cmd_link = ' [$(LINK_COLOR)LINK$(END_COLOR)] $(RELPATH)$@'
- cmd_link = $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+ cmd_link = $(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
quiet_cmd_sparse = ' [SPARSE] $(RELPATH)$(2)'
cmd_sparse = $(SPARSE) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(SPARSE_FLAGS) $(2)
|