From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [138.197.159.143]) by gnuweeb.org (Postfix) with ESMTPSA id 97A977E6DA; Tue, 8 Mar 2022 22:40:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1646779226; bh=GKwYOXzEowl6fOPVN4UroclsoZy79CJfjujBnS0pxrc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bDnIHZTgDgdXU1kLL6rqXDRs/W6e/yM7YHKACNPBgjZHOpFkyd9Moi2ZAWayJegL8 z6wUOhn7/dirFwUGBYzjt+8SAdpAGXmV6CLhWE0wMjQzi2AyDFeeVDVYniD/3oELy9 LgFnp14TJyVG9cCXq2Avq4OhGm+E7l/nXJwNIVEtNY0jCaxzlZq0dJY+fyF7tYwmsH djfmCJFsF8NCPTXL3L6J/HlzhRxeoZdPZmUGeGC1dyZ6MhhoJ/wLp+RttN8IRDentB pvEa3mYwI9I25GzaZhO1ZH67AlTfvYJ+nAFoUeu5hDDuqEPpA8WZexVW0gp4FVtr1i mxYWXFpTVrotA== From: Alviro Iskandar Setiawan To: Jens Axboe Cc: Alviro Iskandar Setiawan , Pavel Begunkov , Ammar Faizi , Alviro Iskandar Setiawan , io-uring@vger.kernel.org, gwml@vger.gnuweeb.org Subject: [PATCH liburing 1/2] src/Makefile: Remove `-fomit-frame-pointer` from default build Date: Tue, 8 Mar 2022 22:40:01 +0000 Message-Id: <20220308224002.3814225-2-alviro.iskandar@gnuweeb.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220308224002.3814225-1-alviro.iskandar@gnuweeb.org> References: <20220308224002.3814225-1-alviro.iskandar@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: -fomit-frame-pointer is already turned on by -O1 optimization flag. The liburing default compilation uses -O2 optimization, -O2 turns on all optimization flags specified by -O1. Therefore, we don't need to specify -fomit-frame-pointer here. Remove it. Link: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html Signed-off-by: Alviro Iskandar Setiawan --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 3e1192f..f19d45e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ libdevdir ?= $(prefix)/lib CPPFLAGS ?= override CPPFLAGS += -D_GNU_SOURCE \ -Iinclude/ -include ../config-host.h -CFLAGS ?= -g -fomit-frame-pointer -O2 -Wall -Wextra -fno-stack-protector +CFLAGS ?= -g -O2 -Wall -Wextra -fno-stack-protector override CFLAGS += -Wno-unused-parameter -Wno-sign-compare -DLIBURING_INTERNAL SO_CFLAGS=-fPIC $(CFLAGS) L_CFLAGS=$(CFLAGS) -- 2.32.0