mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
pc: build lx_emul and linux driver code with -O2
Ref genodelabs/genode#4416
This commit is contained in:
parent
14d1ca17a9
commit
e1a2b5c8d4
@ -131,6 +131,9 @@ CC_C_OPT += -Wno-packed-not-aligned
|
||||
CC_C_OPT += -Wno-discarded-qualifiers
|
||||
CC_C_OPT += -Wno-format
|
||||
|
||||
# avoid link errors whenever the build config's CC_OLEVEL is set to -O0
|
||||
override CC_OLEVEL := -O2
|
||||
|
||||
LX_SRC = $(shell grep ".*\.c" $(PRG_DIR)/source.list)
|
||||
SRC_S += $(shell grep ".*\.S" $(PRG_DIR)/source.list)
|
||||
SRC_C += $(LX_SRC)
|
||||
|
Loading…
Reference in New Issue
Block a user