Skip to content

Commit f1538b1

Browse files
committed
Add target cpu and tune for webOS
1 parent 667b169 commit f1538b1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile.webos

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,10 @@ DEF_FLAGS += -ffunction-sections -fdata-sections
138138
DEF_FLAGS += -I. -Ideps -Ideps/stb -DWEBOS=1 -MMD
139139
DEF_FLAGS += -Wall -Wno-unused-variable
140140
LIBS := -ldl -lz -lrt -pthread
141-
CFLAGS :=
142-
CXXFLAGS := -fno-exceptions -fno-rtti -std=c++11 -D__STDC_CONSTANT_MACROS
143-
ASFLAGS :=
141+
ARCHFLAGS := -mcpu=cortex-a9 -mtune=cortex-a53 -mfloat-abi=softfp
142+
CFLAGS := $(ARCHFLAGS)
143+
CXXFLAGS := $(ARCHFLAGS) -fno-exceptions -fno-rtti -std=c++11 -D__STDC_CONSTANT_MACROS
144+
ASFLAGS := $(ARCHFLAGS)
144145
LDFLAGS := -Wl,-rpath=\$$ORIGIN/lib,--gc-sections
145146
INCLUDE_DIRS = -I$(WEBOS_INC_DIR)
146147
LIBRARY_DIRS = -L$(WEBOS_LIB_DIR)

0 commit comments

Comments
 (0)