summarylogtreecommitdiffstats
path: root/0001-cflag_werror_format-security.patch
diff options
context:
space:
mode:
author0b1001002021-12-24 18:41:10 +0100
committer0b1001002021-12-24 18:43:38 +0100
commitab67f860e452553a4435960edbc5e05b1be4d8bb (patch)
treeeffa39429141d5c5cb4890e9d98b7340be2f1a30 /0001-cflag_werror_format-security.patch
parent795a7c2155e4de3f5678f3f74eb11dca6be2cde5 (diff)
downloadaur-ab67f860e452553a4435960edbc5e05b1be4d8bb.tar.gz
Run service as a separate user and add some patches
Create needed paths in service file Add security and hardening measures in service file
Diffstat (limited to '0001-cflag_werror_format-security.patch')
-rw-r--r--0001-cflag_werror_format-security.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/0001-cflag_werror_format-security.patch b/0001-cflag_werror_format-security.patch
new file mode 100644
index 000000000000..fb8c42afadd9
--- /dev/null
+++ b/0001-cflag_werror_format-security.patch
@@ -0,0 +1,12 @@
+diff --git a/Builds/CMake/RippledCompiler.cmake b/Builds/CMake/RippledCompiler.cmake
+index 9a96d647f..b791886ff 100644
+--- a/Builds/CMake/RippledCompiler.cmake
++++ b/Builds/CMake/RippledCompiler.cmake
+@@ -106,7 +106,6 @@ else ()
+ >
+ -Wno-sign-compare
+ -Wno-char-subscripts
+- -Wno-format
+ -Wno-unused-local-typedefs
+ $<$<BOOL:${is_gcc}>:
+ -Wno-unused-but-set-variable