mirror of
https://github.com/corda/corda.git
synced 2025-01-17 02:09:50 +00:00
only enable frame pointer on x86(_64)
This commit is contained in:
parent
35ae3dc391
commit
08a6025138
8
makefile
8
makefile
@ -157,9 +157,11 @@ common-cflags = $(warnings) -fno-rtti -fno-exceptions \
|
||||
-DUSE_ATOMIC_OPERATIONS -DAVIAN_JAVA_HOME=\"$(javahome)\" \
|
||||
-DAVIAN_EMBED_PREFIX=\"$(embed-prefix)\"
|
||||
|
||||
ifeq ($(use-frame-pointer),true)
|
||||
common-cflags += -fno-omit-frame-pointer -DAVIAN_USE_FRAME_POINTER
|
||||
asmflags += -DAVIAN_USE_FRAME_POINTER
|
||||
ifneq (,$(filter i386 x86_64,$(arch)))
|
||||
ifeq ($(use-frame-pointer),true)
|
||||
common-cflags += -fno-omit-frame-pointer -DAVIAN_USE_FRAME_POINTER
|
||||
asmflags += -DAVIAN_USE_FRAME_POINTER
|
||||
endif
|
||||
endif
|
||||
|
||||
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden \
|
||||
|
Loading…
Reference in New Issue
Block a user