From acbb00471bb59cd1145f59eec8cf5b22c35521d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= Date: Mon, 2 Dec 2024 09:51:07 +0000 Subject: [PATCH] Merged revision(s) 22445 from branches/OpenMPT-1.29: [Mod] build: Makefile: Remove -ffast-math in order to avoid warnings with modern Clang. See r15720. ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.28@22446 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 63b810fbaea..bcfd80bfd21 100644 --- a/Makefile +++ b/Makefile @@ -346,8 +346,8 @@ CXXFLAGS += -O0 -g -fno-omit-frame-pointer CFLAGS += -O0 -g -fno-omit-frame-pointer else ifeq ($(OPTIMIZE_SIZE),1) -CXXFLAGS += -Os -ffast-math -CFLAGS += -Os -ffast-math -fno-strict-aliasing +CXXFLAGS += -Os +CFLAGS += -Os -fno-strict-aliasing LDFLAGS += ifeq ($(MPT_COMPILER_NOGCSECTIONS),1) else @@ -357,8 +357,8 @@ LDFLAGS += -Wl,--gc-sections endif else ifeq ($(OPTIMIZE),1) -CXXFLAGS += -O3 -ffast-math -CFLAGS += -O3 -ffast-math -fno-strict-aliasing +CXXFLAGS += -O3 +CFLAGS += -O3 -fno-strict-aliasing endif endif endif