Blame 0012-fix-build-with-KMOD.patch
|
Harald Hoyer |
3763a8 |
From f59548aeab5da479493e2c49400993a6502f6f8e Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
3763a8 |
From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= <tpgxyz@gmail.com>
|
|
Harald Hoyer |
3763a8 |
Date: Mon, 24 Apr 2017 21:37:56 +0200
|
|
Harald Hoyer |
3763a8 |
Subject: [PATCH] fix build with KMOD
|
|
Harald Hoyer |
3763a8 |
|
|
Harald Hoyer |
3763a8 |
---
|
|
Harald Hoyer |
3763a8 |
Makefile | 4 ++--
|
|
Harald Hoyer |
3763a8 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
3763a8 |
|
|
Harald Hoyer |
3763a8 |
diff --git a/Makefile b/Makefile
|
|
Harald Hoyer |
3763a8 |
index 64b46e75..414fb330 100644
|
|
Harald Hoyer |
3763a8 |
--- a/Makefile
|
|
Harald Hoyer |
3763a8 |
+++ b/Makefile
|
|
Harald Hoyer |
3763a8 |
@@ -12,8 +12,8 @@ pkglibdir ?= ${libdir}/dracut
|
|
Harald Hoyer |
3763a8 |
sysconfdir ?= ${prefix}/etc
|
|
Harald Hoyer |
3763a8 |
bindir ?= ${prefix}/bin
|
|
Harald Hoyer |
3763a8 |
mandir ?= ${prefix}/share/man
|
|
Harald Hoyer |
3763a8 |
-CFLAGS ?= -O2 -g -Wall $(KMOD_CFLAGS)
|
|
Harald Hoyer |
3763a8 |
-CFLAGS += -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
|
|
Harald Hoyer |
3763a8 |
+CFLAGS ?= -O2 -g -Wall
|
|
Harald Hoyer |
3763a8 |
+CFLAGS += -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 $(KMOD_CFLAGS)
|
|
Harald Hoyer |
3763a8 |
bashcompletiondir ?= ${datadir}/bash-completion/completions
|
|
Harald Hoyer |
3763a8 |
pkgconfigdatadir ?= $(datadir)/pkgconfig
|
|
Harald Hoyer |
3763a8 |
|