From 9e3ab06d20b381c52cad0c8d6a1369f400952584 Mon Sep 17 00:00:00 2001
From: David Bremner <bremner@debian.org>
Date: Sat, 26 Jan 2013 13:59:13 -0400
Subject: [PATCH 2/3] add CPPFLAGS to C++ compilation line.

This is needed for hardening flags.
---
 src/makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/makefile
+++ b/src/makefile
@@ -78,7 +78,7 @@ endif
 #LDFLAGS = ${LDFLAGS} -s
 #LDFLAGS= -Wl,--as-needed
 
-CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} ${LUA_CFLAGS}
+CXX_COMPILE=${CXX} ${CFLAGS} ${CPPFLAGS} -c -I ${INCLUDE_DIR} ${LUA_CFLAGS}
 
 # Data directories (data dir, configuration file dir)
 CXX_DIR=-DHL_DATA_DIR=\"${HL_DATA_DIR}\" -DHL_CONFIG_DIR=\"${HL_CONFIG_DIR}\"
