We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc9600 commit 043dc4dCopy full SHA for 043dc4d
ports/minimal/Makefile
@@ -26,7 +26,7 @@ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mcpu=cortex-m4 -msoft-float -fsingl
26
CFLAGS += $(INC) -Wall -Werror -std=c99 -nostdlib $(CFLAGS_CORTEX_M4) $(COPT)
27
LDFLAGS += -nostdlib -T stm32f405.ld -Map=$@.map --cref --gc-sections
28
else
29
-LD = gcc
+LD = $(CC)
30
CFLAGS += $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT)
31
LDFLAGS += -Wl,-Map=$@.map,--cref -Wl,--gc-sections
32
endif
0 commit comments