Makefile: fix warnings when compiling with clang++
authorAntonio Ospite <ao2@ao2.it>
Thu, 22 Oct 2015 09:06:31 +0000 (11:06 +0200)
committerAntonio Ospite <ao2@ao2.it>
Thu, 22 Oct 2015 09:06:31 +0000 (11:06 +0200)
commita089660fff6dca996af8fcf584f58864446d746a
tree18e27dab00807b89a342abafada65b7fb088dd01
parent125a069284c63b999824fc708869e137f84476bc
Makefile: fix warnings when compiling with clang++

Clang does not support some options and gives warnings:

  warning: unknown warning option '-Wunsafe-loop-optimizations';
  warning: unknown warning option '-Wunused-but-set-variable';

So add them only when the compiler is not clang.
Makefile