mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 07:13:14 +08:00
Makefile: Add -fno-common
This commit is contained in:
parent
86711191c0
commit
c1234892f9
1
Makefile
1
Makefile
@ -5,6 +5,7 @@ include $(RTEMS_CUSTOM)
|
|||||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||||
|
|
||||||
CFLAGS += -ffreestanding
|
CFLAGS += -ffreestanding
|
||||||
|
CFLAGS += -fno-common
|
||||||
CFLAGS += -Irtemsbsd/include
|
CFLAGS += -Irtemsbsd/include
|
||||||
CFLAGS += -Irtemsbsd/$(RTEMS_CPU)/include
|
CFLAGS += -Irtemsbsd/$(RTEMS_CPU)/include
|
||||||
CFLAGS += -Ifreebsd/sys
|
CFLAGS += -Ifreebsd/sys
|
||||||
|
@ -386,6 +386,7 @@ class ModuleManager:
|
|||||||
'include $(PROJECT_ROOT)/make/leaf.cfg\n' \
|
'include $(PROJECT_ROOT)/make/leaf.cfg\n' \
|
||||||
'\n' \
|
'\n' \
|
||||||
'CFLAGS += -ffreestanding\n' \
|
'CFLAGS += -ffreestanding\n' \
|
||||||
|
'CFLAGS += -fno-common\n' \
|
||||||
'CFLAGS += -Irtemsbsd/include\n' \
|
'CFLAGS += -Irtemsbsd/include\n' \
|
||||||
'CFLAGS += -Irtemsbsd/$(RTEMS_CPU)/include\n' \
|
'CFLAGS += -Irtemsbsd/$(RTEMS_CPU)/include\n' \
|
||||||
'CFLAGS += -Ifreebsd/sys\n' \
|
'CFLAGS += -Ifreebsd/sys\n' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user