Browse Source

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)
tags/v0.2.20^2
Martin Kroeker GitHub 9 years ago
parent
commit
570bc9afbd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      getarch.c

+ 1
- 0
getarch.c View File

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


Loading…
Cancel
Save