From e7d3c61d4a8b18e8ca4958fbf9dc8c991d521249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Fri, 17 May 2024 17:38:38 +0200 Subject: [PATCH] Findlib makefile changes: * cleanup CFLAGS for the nightly case * change optimization flag to -O3 to match the main build --- FindLib/etc/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FindLib/etc/makefile b/FindLib/etc/makefile index 40b936a..97568ad 100644 --- a/FindLib/etc/makefile +++ b/FindLib/etc/makefile @@ -7,7 +7,7 @@ DEP_DIR := depends -OPTIMIZER = -O0 +OPTIMIZER = -O3 CC = gcc @@ -19,7 +19,7 @@ HAIKU_HREV_NUM = $(shell uname -v | cut -d " " -f 1 | cut -d "+" -f 1 | sed s/hr HAS_FIXED_FEATURES_H = $(shell if [ $(strip $(HAIKU_HREV_NUM)) -ge 57497 ]; then echo "YES"; else echo "NO"; fi) ifeq ($(strip $(HAS_FIXED_FEATURES_H)), YES) - CFLAGS = $(OPTIMIZER) -Wall -Wno-multichar -Wno-ctor-dtor-privacy -D_DEFAULT_SOURCE -DSTDC_HEADERS + CFLAGS = $(OPTIMIZER) -Wall -Wno-multichar -Wno-ctor-dtor-privacy else CFLAGS = $(OPTIMIZER) -Wall -Wno-multichar -Wno-ctor-dtor-privacy -D__USE_GNU -DSTDC_HEADERS endif