SHA256
1
0
forked from pool/keyutils
keyutils/keyutils-1.2-strict-aliasing-punning.patch

14 lines
569 B
Diff

Index: Makefile
===================================================================
--- Makefile.orig 2006-08-22 18:40:00.000000000 +0200
+++ Makefile 2008-11-12 01:04:22.000000000 +0100
@@ -76,7 +76,7 @@ keyctl: keyctl.c keyutils.h Makefile
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
request-key: request-key.c keyutils.h Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
+ $(CC) $(CFLAGS) -fno-strict-aliasing $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
MAN1 := $(DESTDIR)/usr/share/man/man1