make : do not pass compiler-specific options to nvcc
We don't know for sure whether nvcc calls gcc or clang.
This commit is contained in:
parent
86170e0374
commit
141c645fc4
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -183,11 +183,11 @@ TTFS_CXXFLAGS = $(CXXFLAGS) -Wno-missing-declarations
|
|||
|
||||
ifneq '' '$(findstring clang,$(shell $(CXX) --version))'
|
||||
# clang++ only
|
||||
MK_CXXFLAGS += -Wmissing-prototypes
|
||||
TTFS_CXXFLAGS += -Wno-missing-prototypes
|
||||
MK_HOST_CXXFLAGS += -Wmissing-prototypes
|
||||
TTFS_CXXFLAGS += -Wno-missing-prototypes
|
||||
else
|
||||
# g++ only
|
||||
MK_CXXFLAGS += -Wno-format-truncation -Wno-array-bounds
|
||||
MK_HOST_CXXFLAGS += -Wno-format-truncation -Wno-array-bounds
|
||||
endif
|
||||
|
||||
# OS specific
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue