From: Emmanuel Hocdet Date: Fri, 17 May 2019 15:32:21 +0000 (+0000) Subject: BUILD: makefile: remove -fomit-frame-pointer optimisation (solaris) X-Git-Tag: v2.0-dev4~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c0edfa1fff58cc5b8f3e2ffacdc3c1477d6c15d;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/Makefile b/Makefile index 04451cd3ad..fcd1581212 100644 --- a/Makefile +++ b/Makefile @@ -353,7 +353,7 @@ ifeq ($(TARGET),solaris) set_target_defaults = $(call default_opts, \ USE_POLL USE_TPROXY USE_LIBCRYPT USE_CRYPT_H USE_GETADDRINFO USE_THREAD \ 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 endif