mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-29 20:13:58 +08:00
Makefile: Add -fno-strict-aliasing
This commit is contained in:
parent
4236e3d855
commit
6766ee91c5
1
Makefile
1
Makefile
@ -5,6 +5,7 @@ include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||
include $(RTEMS_CUSTOM)
|
||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||
|
||||
COMMON_FLAGS += -fno-strict-aliasing
|
||||
COMMON_FLAGS += -ffreestanding
|
||||
COMMON_FLAGS += -fno-common
|
||||
COMMON_FLAGS += -Irtemsbsd/include
|
||||
|
@ -411,6 +411,7 @@ class ModuleManager:
|
||||
'include $(RTEMS_CUSTOM)\n' \
|
||||
'include $(PROJECT_ROOT)/make/leaf.cfg\n' \
|
||||
'\n' \
|
||||
'COMMON_FLAGS += -fno-strict-aliasing\n' \
|
||||
'COMMON_FLAGS += -ffreestanding\n' \
|
||||
'COMMON_FLAGS += -fno-common\n' \
|
||||
'COMMON_FLAGS += -Irtemsbsd/include\n' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user