mirror of
https://github.com/corda/corda.git
synced 2025-01-30 08:04:16 +00:00
only enable frame pointer on x86(_64)
This commit is contained in:
parent
35ae3dc391
commit
08a6025138
2
makefile
2
makefile
@ -157,10 +157,12 @@ 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)\"
|
||||||
|
|
||||||
|
ifneq (,$(filter i386 x86_64,$(arch)))
|
||||||
ifeq ($(use-frame-pointer),true)
|
ifeq ($(use-frame-pointer),true)
|
||||||
common-cflags += -fno-omit-frame-pointer -DAVIAN_USE_FRAME_POINTER
|
common-cflags += -fno-omit-frame-pointer -DAVIAN_USE_FRAME_POINTER
|
||||||
asmflags += -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 \
|
||||||
"-I$(JAVA_HOME)/include/linux" -I$(src) -pthread
|
"-I$(JAVA_HOME)/include/linux" -I$(src) -pthread
|
||||||
|
Loading…
x
Reference in New Issue
Block a user