| [69cde8d] | 1 | Submitted By: Joe Ciccone <joeciccone@crazyeyesoft.com> | 
|---|
|  | 2 | Date: 2005-11-23 | 
|---|
|  | 3 | Initial Package Version: 1.19 | 
|---|
|  | 4 | Upstream Status: Sent | 
|---|
|  | 5 | Origin: Joe Ciccone <joeciccone@crazyeyesoft.com | 
|---|
|  | 6 | Description: Adds flags to the stage1, stage2, and chain Makefiles | 
|---|
|  | 7 | forcing them to build as 32bit. | 
|---|
|  | 8 |  | 
|---|
|  | 9 | 2-2-06 Updated for Colo 1.21 | 
|---|
|  | 10 | diff -Naur colo-1.21.orig/chain/Makefile colo-1.21/chain/Makefile | 
|---|
|  | 11 | --- colo-1.21.orig/chain/Makefile       2006-01-17 23:03:58.000000000 +0000 | 
|---|
|  | 12 | +++ colo-1.21/chain/Makefile    2006-02-02 15:43:32.000000000 +0000 | 
|---|
|  | 13 | @@ -18,9 +18,9 @@ | 
|---|
|  | 14 |  | 
|---|
|  | 15 | DEPS=$(OBJS:.o=.d) | 
|---|
|  | 16 |  | 
|---|
|  | 17 | -LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map | 
|---|
|  | 18 | -CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO) | 
|---|
|  | 19 | -CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC) | 
|---|
|  | 20 | +LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map | 
|---|
|  | 21 | +CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO) | 
|---|
|  | 22 | +CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC) | 
|---|
|  | 23 |  | 
|---|
|  | 24 | all: | 
|---|
|  | 25 | $(MAKE) -C .. binary | 
|---|
|  | 26 | diff -Naur colo-1.21.orig/stage1/Makefile colo-1.21/stage1/Makefile | 
|---|
|  | 27 | --- colo-1.21.orig/stage1/Makefile      2006-01-17 23:03:58.000000000 +0000 | 
|---|
|  | 28 | +++ colo-1.21/stage1/Makefile   2006-02-02 15:44:18.000000000 +0000 | 
|---|
|  | 29 | @@ -21,9 +21,9 @@ | 
|---|
|  | 30 |  | 
|---|
|  | 31 | DEPS=$(OBJS:.o=.d) | 
|---|
|  | 32 |  | 
|---|
|  | 33 | -LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map | 
|---|
|  | 34 | -CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO) | 
|---|
|  | 35 | -CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC) | 
|---|
|  | 36 | +LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map | 
|---|
|  | 37 | +CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO) | 
|---|
|  | 38 | +CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC) | 
|---|
|  | 39 |  | 
|---|
|  | 40 | all: | 
|---|
|  | 41 | $(MAKE) -C .. binary | 
|---|
|  | 42 | diff -Naur colo-1.21.orig/stage2/Makefile colo-1.21/stage2/Makefile | 
|---|
|  | 43 | --- colo-1.21.orig/stage2/Makefile      2006-01-17 23:03:58.000000000 +0000 | 
|---|
|  | 44 | +++ colo-1.21/stage2/Makefile   2006-02-02 15:44:02.000000000 +0000 | 
|---|
|  | 45 | @@ -54,9 +54,9 @@ | 
|---|
|  | 46 |  | 
|---|
|  | 47 | DEPS=$(OBJS:.o=.d) | 
|---|
|  | 48 |  | 
|---|
|  | 49 | -LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map,--emit-relocs | 
|---|
|  | 50 | -CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO) | 
|---|
|  | 51 | -CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC) | 
|---|
|  | 52 | +LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map,--emit-relocs | 
|---|
|  | 53 | +CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO) | 
|---|
|  | 54 | +CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC) | 
|---|
|  | 55 |  | 
|---|
|  | 56 | LOADADDR= $(shell $(CROSS_COMPILE)readelf -l $(TARG) | awk '$$1 ~ /^LOAD$$/ { print $$3 }') | 
|---|
|  | 57 |  | 
|---|