Reduce binary sizes for the kernel and userspace apps
This commit is contained in:
@ -13,4 +13,8 @@ CFLAGS += -m64 \
|
||||
-fno-strict-aliasing \
|
||||
-O0 \
|
||||
-mno-tls-direct-seg-refs \
|
||||
# -fsanitize=undefined
|
||||
-fdata-sections \
|
||||
-ffunction-sections \
|
||||
|
||||
LDFLAGS += --gc-sections \
|
||||
--strip-all
|
||||
|
||||
Reference in New Issue
Block a user