qclib/qclib-1.2.0-cflags.patch

12 lines
451 B
Diff
Raw Normal View History

2017-01-06 13:43:18 +00:00
--- qclib-1.2.0/Makefile 2016-11-30 09:23:28.946521117 -0500
+++ qclib-1.2.0/Makefile.old 2016-11-30 09:36:59.556521117 -0500
@@ -6,7 +6,7 @@
# bugfix: Bugfixes only
VERM = 1
VERSION = $(VERM).2.0
-CFLAGS = -g -Wall -O2
+CFLAGS ?= -g -Wall -O2
CFILES = query_capacity.c query_capacity_data.c query_capacity_sysinfo.c query_capacity_ocf.c \
query_capacity_hypfs.c query_capacity_sthyi.c
OBJECTS = $(patsubst %.c,%.o,$(CFILES))