Fix spurious define in openblas_config.h

TARGET as specified with make is already return-terminated when getarch reads it. This led to an empty line written to config_last.h that awk in Makefile.install then expanded to a spurious "#define OPENBLAS_" in openblas_config.h (as noted by "kmb" on the mailing list)
This commit is contained in:
Martin Kroeker 2016-11-06 17:29:33 +01:00 committed by GitHub
parent f00baf32a6
commit 570bc9afbd
1 changed files with 1 additions and 0 deletions

View File

@ -1098,6 +1098,7 @@ int main(int argc, char *argv[]){
p ++;
}
} else {
if (*p != '\n')
printf("%c", *p);
p ++;
}