changes...
This commit is contained in:
@@ -26,6 +26,8 @@ else ifeq ($(CC),gcc)
|
||||
COMP := COMPILER_GCC
|
||||
endif
|
||||
|
||||
# printf '\x01\x00' | od -to2 | head -n 1
|
||||
|
||||
# -ansi -pedantic -pedantic-errors
|
||||
CFLAGS = -Wno-long-long -Wall -Wextra \
|
||||
-Wincompatible-pointer-types \
|
||||
@@ -33,7 +35,13 @@ CFLAGS = -Wno-long-long -Wall -Wextra \
|
||||
-Wno-strict-prototypes -Wno-missing-field-initializers \
|
||||
-Wno-unused-function -Wno-unused-parameter -Wno-unused-variable \
|
||||
-Wno-unused-but-set-variable \
|
||||
-fno-caret-diagnostics -fno-show-column
|
||||
-fno-show-column
|
||||
|
||||
ifeq ($(COMP),COMPILER_CLANG)
|
||||
CFLAGS += -fno-caret-diagnostics
|
||||
else ifeq ($(COMP),COMPILER_GCC)
|
||||
CFLAGS += -fno-diagnostics-show-caret
|
||||
endif
|
||||
|
||||
ifeq ($(OS),OS_MACOS)
|
||||
FLAGS = -glldb
|
||||
|
||||
Reference in New Issue
Block a user