Advertisement
zefie

.profile for tuning

Jan 11th, 2014
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.29 KB | None | 0 0
  1. export MTUNE="-mtune=core-avx-i"
  2. alias cmake-tuned="cmake -DCMAKE_CXX_FLAGS:STRING=\"${MTUNE}\" -DCMAKE_C_FLAGS:STRING=\"${MTUNE}\""
  3. alias qmake-tuned="qmake \"QMAKE_CFLAGS=${MTUNE}\" \"QMAKE_CXXFLAGS=${MTUNE}\" \"QMAKE_OBJECTIVE_CFLAGS=${MTUNE}\""
  4. export CFLAGS=${MTUNE}
  5. export CXXFLAGS=${MTUNE}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement