From 01557677b1000f9ee9ef71673f27e6d09d4525d8 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 19 Nov 2018 15:18:01 +0100 Subject: [PATCH] bsys: CFLAGS should add to existing else the environment from buildpackage gets overwritten and the '-g' misses, which results in an debug symbols file without debug symbols. Signed-off-by: Thomas Lamprecht --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 423ae0ae..f6cfb288 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION=5.0 PACKAGE=qemu-server PKGREL=40 -CFLAGS=-O2 -Werror -Wall -Wextra -Wpedantic -Wtype-limits -Wl,-z,relro -std=gnu11 +CFLAGS+=-O2 -Werror -Wall -Wextra -Wpedantic -Wtype-limits -Wl,-z,relro -std=gnu11 JSON_CFLAGS=$(shell pkg-config --cflags json-c) JSON_LIBS=$(shell pkg-config --libs json-c)