add -O2 flag

This commit is contained in:
Karen Christiansen 1994-07-11 23:35:24 +00:00
parent c5a1c22622
commit a846e83d63

View File

@ -47,9 +47,9 @@ endif
NATIVE = native NATIVE = native
GCC = gcc -O GCC = gcc -O2
CFLAGS = -g CFLAGS = -g
CXXFLAGS = -g -O -fexternal-templates CXXFLAGS = -g -O2 -fexternal-templates
MAKEINFOFLAGS = MAKEINFOFLAGS =
log = 1>$(canonhost)-build-log 2>&1 log = 1>$(canonhost)-build-log 2>&1
@ -122,14 +122,14 @@ TARGETS = $(NATIVE) \
sparc-aout sparc-lynx sparc-vxworks \ sparc-aout sparc-lynx sparc-vxworks \
sparclite-aout sparclite-vxworks \ sparclite-aout sparclite-vxworks \
sparclite-coff z8k-coff sparclite-coff z8k-coff
GCC = gcc -O -pipe GCC = gcc -O2 -pipe
all: all-cygnus all: all-cygnus
endif endif
ifeq ($(canonhost),m68k-sun-sunos4.1.1) ifeq ($(canonhost),m68k-sun-sunos4.1.1)
TARGETS = $(NATIVE) \ TARGETS = $(NATIVE) \
m68k-coff m68k-coff
GCC = gcc -O -msoft-float GCC = gcc -O2 -msoft-float
CC = cc -J CC = cc -J
all: all-cygnus all: all-cygnus
endif endif
@ -142,7 +142,7 @@ TARGETS = $(NATIVE) \
m88k-coff \ m88k-coff \
mipsel-idt-ecoff sparc-lynx mipsel-idt-ecoff sparc-lynx
CC = cc -Xs CC = cc -Xs
GCC = gcc -O -pipe GCC = gcc -O2 -pipe
all: all-cygnus all: all-cygnus
endif endif
@ -202,9 +202,9 @@ TARGETS = \
sh-hms \ sh-hms \
sparclite-aout sparclite-aout
CC = i386-go32-gcc CC = i386-go32-gcc
GCC = i386-go32-gcc -O GCC = i386-go32-gcc -O2
CFLAGS = CFLAGS =
CXXFLAGS = -O CXXFLAGS = -O2
MAKEINFOFLAGS = --no-split MAKEINFOFLAGS = --no-split
all: all-dos all: all-dos
endif endif