void-packages/srcpkgs/xsettingsd/patches/scons.patch

14 lines
489 B
Diff

diff --git SConstruct SConstruct
index 4254271..c81e5ae 100644
--- SConstruct
+++ SConstruct
@@ -44,7 +44,8 @@ env = Environment(
env.Append(CPPFLAGS=os.environ.get('CPPFLAGS', ''),
CFLAGS=os.environ.get('CFLAGS', ''),
CXXFLAGS=os.environ.get('CXXFLAGS', ''),
- LDFLAGS=os.environ.get('LDFLAGS', ''))
+ LINKFLAGS=os.environ.get('LDFLAGS', ''))
+env.Replace(CXX=os.environ.get("CXX", ""))
env.Append(CCFLAGS='-Wall -Werror -Wno-narrowing')