mirror of
https://github.com/intel/isa-l.git
synced 2024-12-13 09:52:56 +01:00
build: fix debug build problem
Remove strip command when lib_debug=1 Change-Id: I1203fcbfefb3b87080e9ba12ccbfb8018a008147 Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
936d05fc4f
commit
e2b07bbd44
9
make.inc
9
make.inc
@ -95,7 +95,12 @@ ifeq ($(arch),noarch)
|
||||
endif
|
||||
|
||||
# arch=aarch64 build options
|
||||
ASFLAGS_aarch64 = -c
|
||||
ifeq ($(lib_debug),1)
|
||||
ASFLAGS_aarch64 = -g -c
|
||||
else
|
||||
ASFLAGS_aarch64 = -c
|
||||
endif
|
||||
|
||||
ARFLAGS_aarch64 = cr $@
|
||||
ifeq ($(arch),aarch64)
|
||||
AS=$(CC) -D__ASSEMBLY__
|
||||
@ -261,7 +266,9 @@ endif
|
||||
$(lib_name): $(objs)
|
||||
@echo " ---> Creating Lib $@"
|
||||
@$(AR) $(ARFLAGS) $^
|
||||
ifneq ($(lib_debug),1)
|
||||
@$(STRIP_$(CC))
|
||||
endif
|
||||
|
||||
|
||||
# Target for shared lib
|
||||
|
Loading…
Reference in New Issue
Block a user