Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Don't use <<- here documents
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Nov 1, 2016
1 parent 3e9aee3 commit b7d7a71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/ecm/spkg-install
Expand Up @@ -147,11 +147,11 @@ else
# The compiler supports '-march=native', but the assembler might not
# support (some of) the instructions emitted with this (e.g. the
# Apple assembler doesn't know AVX yet).
cat >foo.c <<-"EOF"
cat >foo.c <<EOF
double d;
unsigned long fancy_insns() { return (unsigned long) d; }
int main () { return 0; }
EOF
EOF
if $CC -march=native -o foo foo.c &>/dev/null && ./foo >/dev/null; then
cpu_params="-march=native"
else
Expand Down

0 comments on commit b7d7a71

Please sign in to comment.