aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/smack/files/smack_generator_make_fixup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/smack/files/smack_generator_make_fixup.patch')
-rw-r--r--recipes-security/smack/files/smack_generator_make_fixup.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-security/smack/files/smack_generator_make_fixup.patch b/recipes-security/smack/files/smack_generator_make_fixup.patch
new file mode 100644
index 0000000..4d677e7
--- /dev/null
+++ b/recipes-security/smack/files/smack_generator_make_fixup.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+Signed-off-by: Armin Kuster <akuster808@gmail.com>
+
+
+Index: git/tests/Makefile
+===================================================================
+--- git.orig/tests/Makefile
++++ git/tests/Makefile
+@@ -4,7 +4,7 @@ clean:
+ rm -rf ./out ./generator
+
+ generator: generator.c
+- gcc -Wall -O3 generator.c -o ./generator
++ ${CC} ${LDFLAGS} generator.c -o ./generator
+
+ policies: ./generator ./make_policies.bash
+ ./make_policies.bash ./generator