rotate-me-fast/configure
Fabien Freling f618b3fed1 Extract one 64-bit value for SSE.
Instead of extracting 4 16-bit value, we directly extract a 64-bit
value.
2014-09-08 22:53:54 +02:00

18 lines
372 B
Bash
Executable file

#!/bin/sh
case `uname -s` in
Darwin)
echo 'CXX = clang++' > Makefile.rules
echo 'CXXFLAGS_PLATFORM = -march=native -msse4.2' >> Makefile.rules
echo 'LFLAGS = -flto' >> Makefile.rules
;;
Linux)
echo 'CXX = g++' > Makefile.rules
echo 'CXXFLAGS_PLATFORM = -mssse3 -msse4.2' >> Makefile.rules
echo 'LFLAGS = ' >> Makefile.rules
;;
esac