Move -D flag for ar to platform-linux.mk
This commit is contained in:
parent
3a131800a8
commit
c8bed8a9bd
3
Makefile
3
Makefile
@ -14,7 +14,7 @@ LIBSUFFIX=a
|
||||
CCAS=$(CC)
|
||||
CXX_O=-o $@
|
||||
CXX_LINK_O=-o $@
|
||||
AR_OPTS=crD $@
|
||||
AR_OPTS=cr
|
||||
LINK_LOCAL_DIR=-L.
|
||||
LINK_LIB=-l$(1)
|
||||
CFLAGS_OPT=-O3
|
||||
@ -70,6 +70,7 @@ include $(SRC_PATH)build/platform-$(OS).mk
|
||||
|
||||
CFLAGS += -DGENERATED_VERSION_HEADER
|
||||
LDFLAGS +=
|
||||
AR_OPTS += $@
|
||||
|
||||
ifeq (Yes, $(GCOV))
|
||||
CFLAGS += -fprofile-arcs -ftest-coverage
|
||||
|
@ -4,6 +4,7 @@ SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX).$(SHAREDLIBVERSION)
|
||||
SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER)
|
||||
CFLAGS += -Wall -fno-strict-aliasing -fPIC -MMD -MP
|
||||
LDFLAGS += -lpthread
|
||||
AR_OPTS += -D
|
||||
ifeq ($(ASM_ARCH), x86)
|
||||
ifeq ($(ARCH), x86_64)
|
||||
ASMFLAGS += -f elf64
|
||||
|
Loading…
Reference in New Issue
Block a user