From: <sv...@op...> - 2024-12-02 09:49:30
|
Author: manx Date: Mon Dec 2 10:49:12 2024 New Revision: 22445 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22445 Log: [Mod] build: Makefile: Remove -ffast-math in order to avoid warnings with modern Clang. See r15720. Modified: branches/OpenMPT-1.29/Makefile Modified: branches/OpenMPT-1.29/Makefile ============================================================================== --- branches/OpenMPT-1.29/Makefile Mon Dec 2 10:42:45 2024 (r22444) +++ branches/OpenMPT-1.29/Makefile Mon Dec 2 10:49:12 2024 (r22445) @@ -347,8 +347,8 @@ 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 @@ -358,8 +358,8 @@ 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 |