Skip to content

Commit

Permalink
readding flags Quarx2k#1
Browse files Browse the repository at this point in the history
Change-Id: I8f0f99d9e436e1058417ac64a3bf103be2bd424d
  • Loading branch information
Highwind1991 committed Jun 27, 2015
1 parent f580d0a commit 29a62c5
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \

HOSTCC = gcc
HOSTCXX = g++
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCXXFLAGS = -O2
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
HOSTCXXFLAGS = -O2 -pipe

# Decide whether to build built-in, modular, or both.
# Normally, just do built-in.
Expand Down Expand Up @@ -351,12 +351,12 @@ CC = $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)

CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-Wbitwise -Wno-return-void $(CF)
CFLAGS_MODULE =
CFLAGS_MODULE = -pipe
AFLAGS_MODULE =
LDFLAGS_MODULE =
CFLAGS_KERNEL = -fgraphite-identity -floop-parallelize-all -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block
CFLAGS_KERNEL =
AFLAGS_KERNEL =
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -pipe


# Use LINUXINCLUDE when you must reference the include/ directory.
Expand All @@ -368,20 +368,18 @@ LINUXINCLUDE := -I$(srctree)/arch/$(hdr-arch)/include \

KBUILD_CPPFLAGS := -D__KERNEL__

KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Wno-implicit-function-declaration \
-Wno-format-security \
-Wno-maybe-uninitialized \
-Wno-array-bounds \
-ffast-math -fsingle-precision-constant \
-fgraphite-identity -floop-parallelize-all \
-ftree-loop-linear -floop-interchange \
-floop-strip-mine -floop-block \
-Wno-format \
-ffast-math \
-mvectorize-with-neon-quad \
-fno-delete-null-pointer-checks
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
-Wno-format-security \
-w \
-fno-delete-null-pointer-checks \
-std=gnu89 \
-march=armv7-a \
-mtune=cortex-a7 \
-mfpu=neon-vfpv4 \
-mfloat-abi=softfp \
-pipe
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS := -D__ASSEMBLY__
Expand Down

0 comments on commit 29a62c5

Please sign in to comment.