mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
3d25e1af34
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
24 lines
978 B
Diff
24 lines
978 B
Diff
--- open-iscsi-2.1.1/libopeniscsiusr/Makefile.orig 2020-02-26 20:07:13.000000000 +0100
|
|
+++ open-iscsi-2.1.1/libopeniscsiusr/Makefile 2020-07-14 18:13:07.144477155 +0200
|
|
@@ -44,7 +44,7 @@
|
|
OBJS = context.o misc.o session.o sysfs.o iface.o idbm.o node.o default.o
|
|
|
|
CFLAGS ?= -O2 -g
|
|
-CFLAGS += -Wall -Werror -Wextra -fvisibility=hidden -fPIC
|
|
+CFLAGS += -Wall -Wextra -fvisibility=hidden -fPIC
|
|
CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod)
|
|
|
|
LDFLAGS += $(shell $(PKG_CONFIG) --libs libkmod)
|
|
|
|
--- open-iscsi-2.1.1/usr/Makefile 2020-02-26 20:07:13.000000000 +0100
|
|
+++ open-iscsi-2.1.1/usr/Makefile 2020-07-14 17:56:48.298477155 +0200
|
|
@@ -35,7 +35,7 @@
|
|
PKG_CONFIG = /usr/bin/pkg-config
|
|
|
|
CFLAGS ?= -O2 -g
|
|
-WARNFLAGS ?= -Wall -Wextra -Werror -Wstrict-prototypes -fno-common
|
|
+WARNFLAGS ?= -Wall -Wextra -Wstrict-prototypes -fno-common
|
|
CFLAGS += $(WARNFLAGS) -I../include -I. -D_GNU_SOURCE \
|
|
-I$(TOPDIR)/libopeniscsiusr
|
|
CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod)
|
|
|