allow 'make CC=gcc'
This commit is contained in:
parent
4b8210d1bd
commit
2cab929fb5
@ -1,8 +1,10 @@
|
|||||||
SHELL=/usr/bin/env bash
|
SHELL=/usr/bin/env bash
|
||||||
CC=clang
|
CC=clang
|
||||||
|
ifeq ($(CC),gcc)
|
||||||
|
CCFLAGS=-Wno-parentheses
|
||||||
|
else
|
||||||
CCFLAGS=-Wno-microsoft-anon-tag
|
CCFLAGS=-Wno-microsoft-anon-tag
|
||||||
# CC=gcc
|
endif
|
||||||
# CCFLAGS=-Wno-parentheses
|
|
||||||
|
|
||||||
CMD=$(CC) -std=gnu11 -Wall -Wno-unused-function -fms-extensions ${CCFLAGS} $(FLAGS) -fPIE -MMD -MP -MF
|
CMD=$(CC) -std=gnu11 -Wall -Wno-unused-function -fms-extensions ${CCFLAGS} $(FLAGS) -fPIE -MMD -MP -MF
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user