From 19033bba8909804c04cfdf372fb0f33abaea79b2 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 11 Jan 2021 08:24:42 +0700 Subject: [PATCH] Remove extra flags for gcc on some platforms. (#202) On Linux x86 and x86_64 as well as Cygwin, we were adding some flags to the (commented out) usage of gcc. These shouldn't be here. --- bin/makefile-cygwin.x86_64-x | 2 +- bin/makefile-linux.386-x | 2 +- bin/makefile-linux.x86_64-x | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/makefile-cygwin.x86_64-x b/bin/makefile-cygwin.x86_64-x index 7329117..bfdbcd1 100644 --- a/bin/makefile-cygwin.x86_64-x +++ b/bin/makefile-cygwin.x86_64-x @@ -1,6 +1,6 @@ # Options for Linux, Intel x86_64 and X-Window -#CC = gcc -m64 $(GCC_CFLAGS) -fno-omit-frame-pointer -Wall -Wextra -fno-aggressive-loop-optimizations +#CC = gcc -m64 $(GCC_CFLAGS) CC = clang -m64 $(CLANG_CFLAGS) XFILES = $(OBJECTDIR)xmkicon.o \ diff --git a/bin/makefile-linux.386-x b/bin/makefile-linux.386-x index 25552e5..6240b3a 100644 --- a/bin/makefile-linux.386-x +++ b/bin/makefile-linux.386-x @@ -1,6 +1,6 @@ # Options for Linux, Intel 386/486 and X-Window -#CC = gcc -m32 $(GCC_CFLAGS) -fno-omit-frame-pointer -Wall -Wextra -fno-aggressive-loop-optimizations +#CC = gcc -m32 $(GCC_CFLAGS) CC = clang -m32 $(CLANG_CFLAGS) XFILES = $(OBJECTDIR)xmkicon.o \ $(OBJECTDIR)xbbt.o \ diff --git a/bin/makefile-linux.x86_64-x b/bin/makefile-linux.x86_64-x index 7329117..bfdbcd1 100644 --- a/bin/makefile-linux.x86_64-x +++ b/bin/makefile-linux.x86_64-x @@ -1,6 +1,6 @@ # Options for Linux, Intel x86_64 and X-Window -#CC = gcc -m64 $(GCC_CFLAGS) -fno-omit-frame-pointer -Wall -Wextra -fno-aggressive-loop-optimizations +#CC = gcc -m64 $(GCC_CFLAGS) CC = clang -m64 $(CLANG_CFLAGS) XFILES = $(OBJECTDIR)xmkicon.o \