mirror of
https://github.com/intel/isa-l.git
synced 2025-01-20 20:50:26 +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
|
endif
|
||||||
|
|
||||||
# arch=aarch64 build options
|
# arch=aarch64 build options
|
||||||
ASFLAGS_aarch64 = -c
|
ifeq ($(lib_debug),1)
|
||||||
|
ASFLAGS_aarch64 = -g -c
|
||||||
|
else
|
||||||
|
ASFLAGS_aarch64 = -c
|
||||||
|
endif
|
||||||
|
|
||||||
ARFLAGS_aarch64 = cr $@
|
ARFLAGS_aarch64 = cr $@
|
||||||
ifeq ($(arch),aarch64)
|
ifeq ($(arch),aarch64)
|
||||||
AS=$(CC) -D__ASSEMBLY__
|
AS=$(CC) -D__ASSEMBLY__
|
||||||
@ -261,7 +266,9 @@ endif
|
|||||||
$(lib_name): $(objs)
|
$(lib_name): $(objs)
|
||||||
@echo " ---> Creating Lib $@"
|
@echo " ---> Creating Lib $@"
|
||||||
@$(AR) $(ARFLAGS) $^
|
@$(AR) $(ARFLAGS) $^
|
||||||
|
ifneq ($(lib_debug),1)
|
||||||
@$(STRIP_$(CC))
|
@$(STRIP_$(CC))
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Target for shared lib
|
# Target for shared lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user