respect user-set compiler name

what if my clang compiler is not clang but clang-3.5?
This commit is contained in:
Matan Nassau 2015-01-17 20:53:19 -05:00
parent 524ca93e91
commit 4653c27f0d
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
CXX = g++
CXX ?= g++
CXXFLAGS = -march=native -Wall -Wextra -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
CXX_RELEASE_FLAGS = -O3 -flto

View File

@ -1,4 +1,4 @@
CXX = g++
CXX ?= g++
CXXFLAGS = -D_WIN32_WINNT=0x600 -march=native -Wall -Wextra -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
CXX_RELEASE_FLAGS = -O3 -flto

View File

@ -1,4 +1,4 @@
CXX = g++
CXX ?= g++
CXXFLAGS = -march=native -Wall -Wshadow -Wextra -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
CXX_RELEASE_FLAGS = -O3 -flto
CXX_DEBUG_FLAGS= -g

View File

@ -1,4 +1,4 @@
CXX = clang++
CXX ?= clang++
CXXFLAGS = -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -I../include
CXX_RELEASE_FLAGS = -O2
CXX_DEBUG_FLAGS= -g

View File

@ -1,4 +1,4 @@
CXX = g++
CXX ?= g++
CXXFLAGS = -D_WIN32_WINNT=0x600 -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
CXX_RELEASE_FLAGS = -O3
CXX_DEBUG_FLAGS= -g