Debian Codegraph @

debian/patches/makefile-append-cflags

raw
1 Description: Append CFLAGS
2 Author: Nick Morrott <[email protected]>
3 Forwarded: not-needed
4 Last-Update: 2024-02-21
5 ---
6 --- a/config.mk
7 +++ b/config.mk
8 @@ -17,7 +17,7 @@
9 HAVE_LIBEXIF = $(OPT_DEP_DEFAULT)
10
11 # CFLAGS, any additional compiler flags goes here
12 -CFLAGS = -Wall -pedantic -O2 -DNDEBUG
13 +CFLAGS += -Wall -pedantic -O2 -DNDEBUG
14 # Uncomment for a debug build using gcc/clang
15 # CFLAGS = -Wall -pedantic -DDEBUG -g3 -fsanitize=address,undefined
16 # LDFLAGS = $(CFLAGS)