mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-03 21:40:18 +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
|
||||
|
||||
CFLAGS += -ffreestanding
|
||||
CFLAGS += -fno-common
|
||||
CFLAGS += -Irtemsbsd/include
|
||||
CFLAGS += -Irtemsbsd/$(RTEMS_CPU)/include
|
||||
CFLAGS += -Ifreebsd/sys
|
||||
|
@ -386,6 +386,7 @@ class ModuleManager:
|
||||
'include $(PROJECT_ROOT)/make/leaf.cfg\n' \
|
||||
'\n' \
|
||||
'CFLAGS += -ffreestanding\n' \
|
||||
'CFLAGS += -fno-common\n' \
|
||||
'CFLAGS += -Irtemsbsd/include\n' \
|
||||
'CFLAGS += -Irtemsbsd/$(RTEMS_CPU)/include\n' \
|
||||
'CFLAGS += -Ifreebsd/sys\n' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user