New upstream release
[packages/capstone.git] / debian / patches / use_cppflags
1 Description: CPPFLAGS is not being used.
2  Without CPPFLAGS we cannot have fortified builds.
3 Author: David Martínez Moreno <ender@debian.org>
4 Forwarded: no
5 Last-Update: 2014-05-05
6
7 --- a/functions.mk
8 +++ b/functions.mk
9 @@ -2,7 +2,7 @@
10  # Common functions used by Makefile & tests/Makefile
11  
12  define compile
13 -       ${CC} ${CFLAGS} -c $< -o $@
14 +       ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
15  endef
16  
17