aboutsummaryrefslogtreecommitdiff
path: root/build-all.mk
diff options
context:
space:
mode:
authorKaren Christiansen <karen@cygnus>1994-07-11 23:35:24 +0000
committerKaren Christiansen <karen@cygnus>1994-07-11 23:35:24 +0000
commita846e83d6377e6bd6936900cbfb6f7b34fd48e8c (patch)
treefea38843e71d628e94eecd3f4b148a984618d090 /build-all.mk
parentc5a1c2262285754ee9a8fa75106bd1c905a62df1 (diff)
downloadgdb-a846e83d6377e6bd6936900cbfb6f7b34fd48e8c.zip
gdb-a846e83d6377e6bd6936900cbfb6f7b34fd48e8c.tar.gz
gdb-a846e83d6377e6bd6936900cbfb6f7b34fd48e8c.tar.bz2
add -O2 flag
Diffstat (limited to 'build-all.mk')
-rw-r--r--build-all.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/build-all.mk b/build-all.mk
index 5a215c2..22f61f8 100644
--- a/build-all.mk
+++ b/build-all.mk
@@ -47,9 +47,9 @@ endif
NATIVE = native
-GCC = gcc -O
+GCC = gcc -O2
CFLAGS = -g
-CXXFLAGS = -g -O -fexternal-templates
+CXXFLAGS = -g -O2 -fexternal-templates
MAKEINFOFLAGS =
log = 1>$(canonhost)-build-log 2>&1
@@ -122,14 +122,14 @@ TARGETS = $(NATIVE) \
sparc-aout sparc-lynx sparc-vxworks \
sparclite-aout sparclite-vxworks \
sparclite-coff z8k-coff
-GCC = gcc -O -pipe
+GCC = gcc -O2 -pipe
all: all-cygnus
endif
ifeq ($(canonhost),m68k-sun-sunos4.1.1)
TARGETS = $(NATIVE) \
m68k-coff
-GCC = gcc -O -msoft-float
+GCC = gcc -O2 -msoft-float
CC = cc -J
all: all-cygnus
endif
@@ -142,7 +142,7 @@ TARGETS = $(NATIVE) \
m88k-coff \
mipsel-idt-ecoff sparc-lynx
CC = cc -Xs
-GCC = gcc -O -pipe
+GCC = gcc -O2 -pipe
all: all-cygnus
endif
@@ -202,9 +202,9 @@ TARGETS = \
sh-hms \
sparclite-aout
CC = i386-go32-gcc
-GCC = i386-go32-gcc -O
+GCC = i386-go32-gcc -O2
CFLAGS =
-CXXFLAGS = -O
+CXXFLAGS = -O2
MAKEINFOFLAGS = --no-split
all: all-dos
endif