90596d057e
- Update to version v1.0.74 from version v1.0.60: * tgt 1.0.74 * AIO backing store now reports a list of supported opcodes * tgt 1.0.73 * Update tgt-admin * fix build w/newer glibc * Display nop_count and and nop_interval * Quote $backing_store variable in system(), execute() and backtick-calls * Buffer size is stored in struct concat_buf.size field, so use that instead of BUFSIZE since buffer size can be more than BUFSIZE. Also, remove BUFSIZE since its not used anymore. * tgt 1.0.72 * smc: fix snprintf warnings with gcc7 This removed the tarball v1.0.60.tar.gz, and replaced it with tgt-v1.0.74.tar.xz, which can now be gotten using the new _service file. This also updated the SPEC file with the new version number and the different patch set. Remaining patches were renumbered. This following patches were UPDATED (refreshed): * tgt-fix-build * tgt-include-sys-macros-for-major.patch The following patches were REMOVED (no longer needed): * tgt-handle-access-of-a-target-that-has-been-removed * tgt-missing-module-directory-not-an-error * tgt-compare-pointer-to-null.patch And the following patch was added (and submitted upstream): * tgt-Fix-gcc7-string-truncation-warnings.patch OBS-URL: https://build.opensuse.org/request/show/676701 OBS-URL: https://build.opensuse.org/package/show/Base:System/tgt?expand=0&rev=43
29 lines
779 B
Plaintext
29 lines
779 B
Plaintext
From bcaad0432c18a9a792fce4b10e5a0e7014461dc5 Mon Sep 17 00:00:00 2001
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
Date: Wed, 26 Feb 2014 12:45:56 +0100
|
|
Subject: [PATCH 1/2] Allow OPTFLAGS to override default CFLAGS
|
|
|
|
When building a package the build system might be wanting to
|
|
pass in some additional CFLAGS. So allow for the OPTFLAGS setting
|
|
to override the default CFLAGS.
|
|
|
|
Signed-off-by: Hannes Reinecke <hare@suse.de>
|
|
---
|
|
usr/Makefile | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/usr/Makefile b/usr/Makefile
|
|
index e29826c..31067e8 100644
|
|
--- a/usr/Makefile
|
|
+++ b/usr/Makefile
|
|
@@ -40,6 +40,9 @@ INCLUDES += -I.
|
|
|
|
CFLAGS += -D_GNU_SOURCE
|
|
CFLAGS += $(INCLUDES)
|
|
+ifneq ($(OPTFAGS),)
|
|
+CFLAGS += $(OPTFLAGS)
|
|
+endif
|
|
ifneq ($(DEBUG),)
|
|
CFLAGS += -g -O0 -ggdb -rdynamic
|
|
else
|