mirror of https://github.com/n1nj4sec/pupy.git
linux/client: Build non-debug things with visibility=hidden for x64
This commit is contained in:
parent
35e707f4eb
commit
d9e535fbb7
|
@ -31,6 +31,9 @@ endif
|
|||
ifeq ($(ARCH),64)
|
||||
NAME := 64
|
||||
LDFLAGS += -m64
|
||||
ifeq ($(DEBUG),)
|
||||
CFLAGS += -fvisibility=hidden
|
||||
endif
|
||||
else
|
||||
NAME := 86
|
||||
CFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
|
@ -44,6 +47,7 @@ LINUX_INJECT_CFLAGS := -include fixes.h -include debug.h \
|
|||
ifneq ($(DEBUG),)
|
||||
DEBUG_ADD := -debug
|
||||
CFLAGS += -DDEBUG -O0 -g
|
||||
LDFLAGS += -g
|
||||
NAME := "$(NAME)d"
|
||||
else
|
||||
CFLAGS += -Os
|
||||
|
|
Loading…
Reference in New Issue