ansbuff[0] = '\0';
fflush(stdout);
//fgets(ansbuff, 30, stdin);
- fscanf(stdin, "%30s", ansbuff);
+ int cnt = fscanf(stdin, "%30s", ansbuff);
+ (void)cnt; // avoid errors
if ( strcasecmp(ansbuff, "y") &&
strcasecmp(ansbuff, "yes")) {
if (!feof(fd)) {
int c = fgetc(fd);
if (c == '#') {
- fgets (tmp, 300, fd);
+ char* _ptr=fgets (tmp, 300, fd);
+ (void)_ptr;// avoid warnings
tmp[0] = 0;
continue;
}
%{!?name: %define name mstflint}
%{!?version: %define version @VERSION@}
%{!?release: %define release 1}
+%{!?ppcbuild: %define ppcbuild 0}
+%{!?ppc64build: %define ppc64build 0}
Summary: Mellanox firmware burning application
Name: %{name}
Version: %{version}
-Release: %{release}
+Release: 1
License: GPL/BSD
Url: http://openfabrics.org
Group: System Environment/Base
noinst_LIBRARIES = libreg_access.a
-reg_accessincludedir=$(includedir)/mft/reg_access
-
-reg_accessinclude_HEADERS = reg_access.h
-
libreg_access_a_SOURCES = reg_access.c
libreg_access_a_DEPENDENCIES = $(USER_DIR)/tools_layouts/libtools_layouts.a
libreg_access_a_LIBADD = $(libreg_access_a_DEPENDENCIES)