equal
deleted
inserted
replaced
37 |
37 |
38 include ../../make-rules/prep.mk |
38 include ../../make-rules/prep.mk |
39 include ../../make-rules/configure.mk |
39 include ../../make-rules/configure.mk |
40 include ../../make-rules/ips.mk |
40 include ../../make-rules/ips.mk |
41 |
41 |
42 # Build GDB with GCC 4.7.3. |
42 COMPILER=gcc |
43 # In S11.2 COMPILER=gcc defaults to GCC 3.4.3 and we don't want that one. |
|
44 GCCHOME=/usr/gcc/4.7 |
|
45 CC=$(GCCHOME)/bin/gcc |
|
46 CXX=$(GCCHOME)/bin/g++ |
|
47 |
43 |
48 # GDB wants the GNU utilities |
44 # GDB wants the GNU utilities |
49 PATH=/usr/gnu/bin:$(GCCHOME)/bin:/usr/bin:/usr/perl5/bin |
45 PATH=/usr/gnu/bin:$(GCC_ROOT)/bin:/usr/bin:/usr/perl5/bin |
50 |
46 |
51 CFLAGS_sparc = -g -O2 -mcpu=ultrasparc -mtune=ultrasparc |
47 CFLAGS_sparc = -g -O2 -mcpu=ultrasparc -mtune=ultrasparc |
52 CFLAGS_sparc += -mno-unaligned-doubles |
48 CFLAGS_sparc += -mno-unaligned-doubles |
53 CFLAGS_sparc += -mapp-regs -mhard-float |
49 CFLAGS_sparc += -mapp-regs -mhard-float |
54 CFLAGS_i386 = -g -O2 -march=opteron -mtune=opteron |
50 CFLAGS_i386 = -g -O2 -march=opteron -mtune=opteron |