From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Date: Mon, 25 Jul 2022 12:42:30 +0200
Subject: Makefile: use compiler flags from environment variables

In the current state, any compiler/linker flags set through environment
variables will be ignored. This prevents using hardening flags and makes
package build unreproducible.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 908dbfd..b67d411 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 PD_MAPPER := pd-mapper
 
-CFLAGS := -Wall -g -O2
-LDFLAGS := -lqrtr
+CFLAGS += -Wall -g -O2
+LDFLAGS += -lqrtr
 
 prefix ?= /usr/local
 bindir := $(prefix)/bin
