From 7ce554e17bb2185498d28cfc6ea795a9d39eae0b Mon Sep 17 00:00:00 2001 From: Jason Stewart Date: Wed, 19 Jul 2023 12:50:14 -0400 Subject: CFLAGS adjustment in Makefile `-flto` to `-flto=auto` to eliminate `using serial compilation of 3 LTRANS jobs` gcc warning see https://stackoverflow.com/questions/72218980/gcc-v12-1-warning-about-serial-compilation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 406506b..7987687 100644 --- a/Makefile +++ b/Makefile @@ -162,7 +162,7 @@ endif ifneq ($(filter release,$(MAKECMDGOALS)),) LOCAL_CPPFLAGS += -DNDEBUG -CFLAGS := $(DEFAULT_CFLAGS) -O3 -flto +CFLAGS := $(DEFAULT_CFLAGS) -O3 -flto=auto endif ALL_CPPFLAGS = $(LOCAL_CPPFLAGS) $(CPPFLAGS) $(EXTRA_CPPFLAGS) -- cgit v1.2.3