Merge pull request #1208 from rafalste/debug_packages

packaging: Fix debug package build
This commit is contained in:
Robert Baldyga
2022-09-06 11:45:23 +02:00
committed by GitHub
7 changed files with 56 additions and 25 deletions

View File

@@ -78,6 +78,9 @@ CFLAGS += -O0 -g
else
CFLAGS += -O2 -D_FORTIFY_SOURCE=2
endif
ifdef DEBUG_PACKAGE
CFLAGS += -g3
endif
CFLAGS += -Wall -Werror -z relro -z now -fstack-protector -fPIC -Wformat -Wformat-security -fno-strict-aliasing
#