mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
Add more default flags for arm-none-eabi:
LIBTYPE ?= static BUILD_CPPFLAGS += -fno-exceptions -fno-rtti Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
0657d2104e
commit
714cf468f3
1 changed files with 10 additions and 3 deletions
|
|
@ -3,7 +3,11 @@
|
|||
COMPILER_SUITE ?= gcc
|
||||
CPP_STANDARD_VERSION ?= 17
|
||||
C_STANDARD_VERSION ?= 11
|
||||
LIBTYPE ?= shared
|
||||
ifeq ($(TARGET_TRIPLET),arm-none-eabi)
|
||||
LIBTYPE ?= static
|
||||
else
|
||||
LIBTYPE ?= shared
|
||||
endif
|
||||
|
||||
ifeq ($(COMPILER_SUITE),gcc)
|
||||
DEBUGGER ?= gdb
|
||||
|
|
@ -127,8 +131,11 @@ ifeq ($(TARGET_ARCH),x86_64)
|
|||
endif
|
||||
|
||||
ifeq ($(TARGET_TRIPLET),arm-none-eabi)
|
||||
USE_DISABLE_COMPILER_OPTIMISATION_OPTS = false
|
||||
BUILD_CFLAGS += -mcpu=cortex-m3 -mthumb
|
||||
BUILD_CPPFLAGS += -mcpu=cortex-m3 -mthumb
|
||||
BUILD_CPPFLAGS += -fno-exceptions
|
||||
BUILD_CPPFLAGS += -fno-rtti
|
||||
endif
|
||||
|
||||
ifeq ($(COMPILER_SUITE),gcc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue