Skip to content

Commit

Permalink
rofs-filtered: hardening
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Mar 27, 2021
1 parent a8977d4 commit 77a508f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions srcpkgs/rofs-filtered/patches/fix-cflags.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -9,7 +9,7 @@ set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PA
"${CMAKE_CURRENT_SOURCE_DIR}/cmake")

add_definitions(-D_GNU_SOURCE)
-set(CMAKE_C_FLAGS "-Wall -std=c99")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=c99")

# find fuse library
find_package (FUSE REQUIRED)
2 changes: 1 addition & 1 deletion srcpkgs/rofs-filtered/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'rofs-filtered'
pkgname=rofs-filtered
version=1.7
revision=1
revision=2
build_style=cmake
makedepends="fuse-devel"
short_desc="Filtered read only filesystem for FUSE"
Expand Down

0 comments on commit 77a508f

Please sign in to comment.