zfs-fuse/zfs-fuse-0.7.2.2-common.patch

12 lines
628 B
Diff
Raw Normal View History

--- src/SConstruct~ 2020-01-31 09:09:01.000000000 -0600
+++ src/SConstruct 2020-01-31 09:11:41.687083093 -0600
@@ -30,7 +30,7 @@
env.CacheDir('/tmp/.zfs-fuse.scons')
env['CC'] = os.environ.setdefault("CC","gcc")
-env['CCFLAGS'] = os.environ.setdefault("CFLAGS","")
+env['CCFLAGS'] = os.environ.setdefault("CFLAGS","-fcommon")
env['LINKFLAGS'] = Split('-pipe -Wall -ltirpc')
env.Append(CCFLAGS = Split('-pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\\"zfs-fuse\\" '))