summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stewart <support@eggplantsd.com>2023-07-19 12:50:14 -0400
committerJason Stewart <support@eggplantsd.com>2023-07-19 12:50:14 -0400
commit7ce554e17bb2185498d28cfc6ea795a9d39eae0b (patch)
treebacba18589239c10feb6508e2ade98256b9cf688
parentfb023fdeea088fa66b0df6cbf4e7becf8edeebbb (diff)
downloadbfs-7ce554e17bb2185498d28cfc6ea795a9d39eae0b.tar.xz
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
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)