f618b3fed1
Instead of extracting 4 16-bit value, we directly extract a 64-bit value.
18 lines
372 B
Bash
Executable file
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
|