File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9090
9191CFLAGS += -fdata-sections -ffunction-sections -funsigned-char -fshort-enums
9292CFLAGS += -mno-unaligned-access
93- CFLAGS += -fropi
93+ # CFLAGS += -fropi
9494CFLAGS += -fno-jump-tables # avoid jump tables for switch to avoid problems with invalid PIC access
9595
9696LDFLAGS += -Wall
@@ -101,14 +101,14 @@ LDFLAGS += -nostdlib -nodefaultlibs
101101
102102ifeq ($(TARGET_NAME),TARGET_NANOX)
103103 CPU = cortex-m3
104- CFLAGS += -frwpi
104+ # CFLAGS += -frwpi
105105 LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
106106endif
107107
108108ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX TARGET_NANOS2 TARGET_APEX_P TARGET_APEX_M))
109109 CPU = cortex-m35p+nodsp
110110 CFLAGS += -msoft-float
111- CFLAGS += -frwpi
111+ # CFLAGS += -frwpi
112112 LDFLAGS += -L$(BOLOS_SDK)/arch/st33k1/lib/
113113endif
114114
You can’t perform that action at this time.
0 commit comments