Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Oct 22, 2021
1 parent f2a3e21 commit d502861
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/gcc-tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ CPPFLAGS += -Wno-unused-private-field
endif

ifeq ($(BUILD_STANDALONE_LIB),y)
CFLAGS += -fPIC -fpic -rdynamic
LDFLAGS += -fPIC -fpic -rdynamic
CFLAGS += -fPIC -fpic -rdynamic -fno-plt
LDFLAGS += -fPIC -fpic -rdynamic -fno-plt
endif
2 changes: 1 addition & 1 deletion build/module-defaults.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ CFLAGS += -Wno-error=type-limits
CFLAGS += -fno-strict-aliasing
CFLAGS += -DSPARK=1 -DPARTICLE=1
CFLAGS += -Werror=return-type

CFLAGS += -Wundef
CFLAGS += -Wno-error=cast-function-type

ifdef START_DFU_FLASHER_SERIAL_SPEED
CFLAGS += -DSTART_DFU_FLASHER_SERIAL_SPEED=$(START_DFU_FLASHER_SERIAL_SPEED)
Expand Down
1 change: 1 addition & 0 deletions third_party/mbedtls/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ TARGET_MBEDTLS_SRC_PATH = $(MBEDTLS_MODULE_PATH)/mbedtls/library

# C source files included in this build.
CSRC += $(call target_files,$(TARGET_MBEDTLS_SRC_PATH)/,*.c)
CFLAGS += -Wno-error=array-parameter

0 comments on commit d502861

Please sign in to comment.