* Enable all hardening flags via DEB_BUILD_MAINT_OPTIONS.
* Export CFLAGS as CCFLAGS which is honored by the current
SConstruct file.
+ * Add debian/patches/honor-cppflags - scons should use exported
+ CPPFLAGS.
-- Sven Hoexter <hoexter@debian.org> Thu, 17 May 2012 13:50:03 +0200
--- /dev/null
+Applied upstream in r284.
+http://code.google.com/p/exfat/source/detail?r=284
+--- a/SConstruct
++++ b/SConstruct
+@@ -41,6 +41,8 @@ if not conf.env['CCFLAGS']:
+ conf.env.Replace(CCFLAGS = '-Wall -O2 -ggdb')
+ elif conf.env['CC'] == 'clang':
+ conf.env.Replace(CCFLAGS = '-Wall -O2 -g')
++if 'CPPFLAGS' in os.environ:
++ conf.env.Replace(CPPFLAGS = os.environ['CPPFLAGS'])
+ conf.env.Append(CPPDEFINES = {'FUSE_USE_VERSION': 26})
+ conf.env.Append(CPPDEFINES = {'_FILE_OFFSET_BITS' : 64})
+ conf.env.Append(CPPPATH = ['libexfat'])