BUILD: makefile: remove -fomit-frame-pointer optimisation (solaris)
-fomit-frame-pointer is commonly avoided because tools like dtrace needs frame-pointer. Remove it from Makefile and let builder's env do the job. This patch could be backported to 1.9.
This commit is contained in:
parent
7093c193f6
commit
3c0edfa1ff
2
Makefile
2
Makefile
@ -353,7 +353,7 @@ ifeq ($(TARGET),solaris)
|
|||||||
set_target_defaults = $(call default_opts, \
|
set_target_defaults = $(call default_opts, \
|
||||||
USE_POLL USE_TPROXY USE_LIBCRYPT USE_CRYPT_H USE_GETADDRINFO USE_THREAD \
|
USE_POLL USE_TPROXY USE_LIBCRYPT USE_CRYPT_H USE_GETADDRINFO USE_THREAD \
|
||||||
USE_OBSOLETE_LINKER)
|
USE_OBSOLETE_LINKER)
|
||||||
TARGET_CFLAGS = -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
|
TARGET_CFLAGS = -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
|
||||||
TARGET_LDFLAGS = -lnsl -lsocket
|
TARGET_LDFLAGS = -lnsl -lsocket
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user