source: patches/colo-1.22-make_fix-1.patch@ 52c7da3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 52c7da3 was dedf427, checked in by Jim Gifford <clfs@…>, 18 years ago

Update to Colo 1.22

  • Property mode set to 100644
File size: 2.7 KB
  • chain/Makefile

    Submitted By: Joe Ciccone <joeciccone@crazyeyesoft.com>
    Date: 2005-11-23
    Initial Package Version: 1.19
    Upstream Status: Sent
    Origin: Joe Ciccone <joeciccone@crazyeyesoft.com
    Description: Adds flags to the stage1, stage2, and chain Makefiles
                 forcing them to build as 32bit.
    
    	     2-2-06 Updated for Colo 1.21 
    diff -Naur colo-1.21.orig/chain/Makefile colo-1.21/chain/Makefile
    old new  
    1818
    1919DEPS=$(OBJS:.o=.d)
    2020
    21 LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
    22 CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
    23 CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
     21LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
     22CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
     23CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
    2424
    2525all:
    2626        $(MAKE) -C .. binary
  • stage1/Makefile

    diff -Naur colo-1.21.orig/stage1/Makefile colo-1.21/stage1/Makefile
    old new  
    2121
    2222DEPS=$(OBJS:.o=.d)
    2323
    24 LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
    25 CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
    26 CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
     24LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
     25CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
     26CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
    2727
    2828all:
    2929        $(MAKE) -C .. binary
  • stage2/Makefile

    diff -Naur colo-1.21.orig/stage2/Makefile colo-1.21/stage2/Makefile
    old new  
    5454
    5555DEPS=$(OBJS:.o=.d)
    5656
    57 LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map,--emit-relocs
    58 CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
    59 CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
     57LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map,--emit-relocs
     58CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
     59CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
    6060
    6161LOADADDR= $(shell $(CROSS_COMPILE)readelf -l $(TARG) | awk '$$1 ~ /^LOAD$$/ { print $$3 }')
    6262
Note: See TracBrowser for help on using the repository browser.