From c52ae4b8fea2d3fb3e4697206f22e5916a3f5e64 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 18 Apr 2021 13:27:17 -0500 Subject: [PATCH] GNUmakefile: ensure DESTDIR and bup_shared_ldflags are defined Satisfy --warn-undefined-variables Signed-off-by: Rob Browning Tested-by: Rob Browning --- GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 3e288d3..f07a3b5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -34,6 +34,7 @@ os := $(call shout,$(os),Unable to determine OS) # Satisfy --warn-undefined-variables CFLAGS ?= +DESTDIR ?= CPPFLAGS ?= LDFLAGS ?= TARGET_ARCH ?= @@ -43,6 +44,8 @@ bup_shared_cflags := -Wno-unused-command-line-argument $(bup_shared_cflags) bup_shared_cflags := -Wno-unknown-pragmas -Wsign-compare $(bup_shared_cflags) bup_shared_cflags := -D_FILE_OFFSET_BITS=64 $(bup_shared_cflags) +bup_shared_ldflags := + soext := .so ifeq ($(os),CYGWIN) soext := .dll -- 2.39.2