From: <sv...@op...> - 2024-12-02 09:51:19
|
Author: manx Date: Mon Dec 2 10:51:07 2024 New Revision: 22446 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22446 Log: 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. ........ Modified: branches/OpenMPT-1.28/ (props changed) branches/OpenMPT-1.28/Makefile Modified: branches/OpenMPT-1.28/Makefile ============================================================================== --- branches/OpenMPT-1.28/Makefile Mon Dec 2 10:49:12 2024 (r22445) +++ branches/OpenMPT-1.28/Makefile Mon Dec 2 10:51:07 2024 (r22446) @@ -346,8 +346,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 @@ -357,8 +357,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 |