keyutils: add new package

This is based on earlier work by Tobias Waldvogel.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
W. Michael Petullo
2018-08-26 02:37:40 -04:00
parent 77d8472ed5
commit d71da004d9
3 changed files with 79 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Description: Avoid setting Intel Architecture specific CFLAGS (Closes: #638925).
diff -Naurp keyutils.orig/Makefile keyutils/Makefile
--- keyutils.orig/Makefile 2011-08-22 11:51:20.521464216 +0200
+++ keyutils/Makefile 2011-08-24 19:17:09.855361713 +0200
@@ -56,12 +56,10 @@ BUILDFOR := $(shell file /usr/bin/make |
LNS := ln -sf
ifeq ($(BUILDFOR),32-bit)
-CFLAGS += -m32
LIBDIR := /lib
USRLIBDIR := /usr/lib
else
ifeq ($(BUILDFOR),64-bit)
-CFLAGS += -m64
LIBDIR := /lib64
USRLIBDIR := /usr/lib64
endif