X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fexfat-utils.git;a=blobdiff_plain;f=debian%2Fpatches%2Fhonor-cppflags;fp=debian%2Fpatches%2Fhonor-cppflags;h=199876bf1e5731a59213c185682e9cf13d0eb8bf;hp=0000000000000000000000000000000000000000;hb=f2245492383ffcdf4412de9a2306328f39c94e92;hpb=b0df1c38b310db1dcc128fbfdcfaabb62f888543 diff --git a/debian/patches/honor-cppflags b/debian/patches/honor-cppflags new file mode 100644 index 0000000..199876b --- /dev/null +++ b/debian/patches/honor-cppflags @@ -0,0 +1,13 @@ +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'])