mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
ldso: Fix RISC-V support with 21.05 tool chain
- force inlining of more functions - force -O2 for RISC-V (even if -O0 is set globally) - intialize cxx guard after self relocation issue #4094
This commit is contained in:
committed by
Christian Helmuth
parent
a6fe6c90d4
commit
fd9bc43be1
@@ -1,3 +1,9 @@
|
||||
#
|
||||
# Force to build -O2 on RISC-V in order to get proper inlining during self
|
||||
# relocation
|
||||
#
|
||||
override CC_OLEVEL = -O2
|
||||
|
||||
include $(BASE_DIR)/lib/mk/ld-platform.inc
|
||||
|
||||
INC_DIR += $(DIR)/spec/riscv
|
||||
|
||||
Reference in New Issue
Block a user