From ada76139e280d59cfeb13491ef05f35cf1cc044a Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Fri, 7 Feb 2020 09:45:18 -0800 Subject: [PATCH] [LibOS] Makefile: Remove OMIT_FRAME_POINTER flag There is no code depending on it. If it's wanted, one could simply change CFLAGS. --- LibOS/shim/src/Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/LibOS/shim/src/Makefile b/LibOS/shim/src/Makefile index ee235a43..9ea6fb43 100644 --- a/LibOS/shim/src/Makefile +++ b/LibOS/shim/src/Makefile @@ -2,8 +2,6 @@ RUNTIME_DIR = $(CURDIR)/../../../Runtime include ../../../Scripts/Makefile.configs -OMIT_FRAME_POINTER = no - CFLAGS += -fPIC -Winline -Wwrite-strings \ -fmerge-all-constants -Wstrict-prototypes -Wtrampolines \ -Werror=implicit-function-declaration \ @@ -14,11 +12,6 @@ CFLAGS += -fPIC -Winline -Wwrite-strings \ CFLAGS += -Wextra -ifeq ($(OMIT_FRAME_POINTER),yes) -CFLAGS += -DOMIT_FRAME_POINTER=1 -else -CFLAGS += -fno-omit-frame-pointer -DOMIT_FRAME_POINTER=0 -endif ASFLAGS += -Wa,--noexecstack -x assembler-with-cpp -I../include LDFLAGS += -shared -nostdlib -z combreloc -z relro -z now -z defs \