mirror of
https://github.com/corda/corda.git
synced 2025-01-29 07:34:13 +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)\" \
|
-DUSE_ATOMIC_OPERATIONS -DAVIAN_JAVA_HOME=\"$(javahome)\" \
|
||||||
-DAVIAN_EMBED_PREFIX=\"$(embed-prefix)\"
|
-DAVIAN_EMBED_PREFIX=\"$(embed-prefix)\"
|
||||||
|
|
||||||
ifeq ($(use-frame-pointer),true)
|
ifneq (,$(filter i386 x86_64,$(arch)))
|
||||||
common-cflags += -fno-omit-frame-pointer -DAVIAN_USE_FRAME_POINTER
|
ifeq ($(use-frame-pointer),true)
|
||||||
asmflags += -DAVIAN_USE_FRAME_POINTER
|
common-cflags += -fno-omit-frame-pointer -DAVIAN_USE_FRAME_POINTER
|
||||||
|
asmflags += -DAVIAN_USE_FRAME_POINTER
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden \
|
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user