mirror of https://github.com/F-Stack/f-stack.git
Fix f_stack -Werror=unused-but-set-variable errors with gcc compilers
This commit is contained in:
parent
c74bbd605e
commit
e3636d6024
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
ifndef COMPILER_TYPE
|
ifndef COMPILER_TYPE
|
||||||
ifeq ($(patsubst gcc%,gcc,$(notdir ${CC})),gcc)
|
ifeq ($(patsubst gcc%,gcc,$(notdir ${CC})),gcc)
|
||||||
COMPILER_TYPE:= gcc
|
COMPILER_TYPE:= gcc
|
||||||
else ifeq ($(notdir ${CC}), clang)
|
else ifeq ($(notdir ${CC}), clang)
|
||||||
COMPILER_TYPE:= clang
|
COMPILER_TYPE:= clang
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue