summaryrefslogtreecommitdiffstatshomepage
path: root/src/build/flags_gcc.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/flags_gcc.mak')
-rw-r--r--src/build/flags_gcc.mak21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/build/flags_gcc.mak b/src/build/flags_gcc.mak
deleted file mode 100644
index c529b7aa629..00000000000
--- a/src/build/flags_gcc.mak
+++ /dev/null
@@ -1,21 +0,0 @@
-# TODO: needs to use $(CC)
-TEST_GCC := $(shell gcc --version)
-
-ifeq ($(findstring 4.7.,$(TEST_GCC)),4.7.)
- CCOMFLAGS += -Wno-narrowing -Wno-attributes
-endif
-
-ifeq ($(findstring 4.8.,$(TEST_GCC)),4.8.)
- CCOMFLAGS += -Wno-narrowing -Wno-attributes
- # array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds)
- CCOMFLAGS += -Wno-unused-variable -Wno-array-bounds
-endif
-
-ifeq ($(findstring 4.9.,$(TEST_GCC)),4.9.)
- CCOMFLAGS += -Wno-narrowing -Wno-attributes
- CCOMFLAGS += -Wno-array-bounds
-endif
-
-ifeq ($(findstring arm,$(UNAME)),arm)
- CCOMFLAGS += -Wno-cast-align
-endif \ No newline at end of file