Skip to content

Commit

Permalink
Findlib makefile changes:
Browse files Browse the repository at this point in the history
 * cleanup CFLAGS for the nightly case
 * change optimization flag to -O3 to match the main build
  • Loading branch information
jmairboeck authored and korli committed May 17, 2024
1 parent e54957a commit e7d3c61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FindLib/etc/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DEP_DIR := depends



OPTIMIZER = -O0
OPTIMIZER = -O3

CC = gcc

Expand All @@ -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
Expand Down

0 comments on commit e7d3c61

Please sign in to comment.