mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
tools: acrn-crashlog: update Makefile flags
This patch is to sync the compiler options as the Makefile of device model. Tracked-On: #1122 Signed-off-by: CHEN Gang <gang.c.chen@intel.com> Reviewed-by: Zhi Jin <zhi.jin@intel.com> Reviewed-by: Liu, Xinwu <xinwu.liu@intel.com>
This commit is contained in:
@@ -8,8 +8,7 @@ LIBS = -lpthread -lxml2 -lcrypto -lrt -lblkid -lext2fs -lcom_err \
|
||||
INCLUDE += -I $(CURDIR)/include -I /usr/include/libxml2
|
||||
INCLUDE += -I $(BUILDDIR)/include/acrnprobe
|
||||
CFLAGS += $(INCLUDE)
|
||||
CFLAGS += -g -O0 -std=gnu11
|
||||
CFLAGS += -ffunction-sections -fdata-sections
|
||||
CFLAGS += -fdata-sections
|
||||
|
||||
LDFLAGS += $(LIBS) -Wl,--gc-sections
|
||||
|
||||
|
||||
Reference in New Issue
Block a user