File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ TARGET_PREFIX=$(TRIPLE)-
4
4
RM ?= rm -f
5
5
6
6
ifeq ($(CLANG ) ,1)
7
- CC_normal := clang -target $(TRIPLE )
8
- CX_normal := clang++ -target $(TRIPLE )
7
+ CC_normal := clang -target $(TRIPLE ) -integrated-as
8
+ CX_normal := clang++ -target $(TRIPLE ) -integrated-as
9
9
else
10
10
CC_normal := $(TARGET_PREFIX ) gcc
11
11
CX_normal := $(TARGET_PREFIX ) g++
39
39
# Toolchain options
40
40
#
41
41
INCLUDES = -I$(MSCDIR ) /software/include/base -I$(MSCDIR ) /software/include -I$(MSCDIR ) /common
42
- COMMONFLAGS = -Os $(CPUFLAGS ) -Wall -fno-builtin -nostdinc -DMSC_GIT_ID=$(MSC_GIT_ID ) $(INCLUDES )
42
+ COMMONFLAGS = -Os $(CPUFLAGS ) -fomit-frame-pointer - Wall -fno-builtin -nostdinc -DMSC_GIT_ID=$(MSC_GIT_ID ) $(INCLUDES )
43
43
CFLAGS = $(COMMONFLAGS ) -fexceptions -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
44
44
CXXFLAGS = $(COMMONFLAGS ) -std=c++11 -I$(MSCDIR ) /software/include/basec++ -fexceptions -fno-rtti -ffreestanding
45
45
LDFLAGS = -nostdlib -nodefaultlibs -L$(MSCDIR ) /software/include
You can’t perform that action at this time.
0 commit comments