patch-com32_lib_MCONFIG 1.2 KB

123456789101112131415161718192021222324252627
  1. --- syslinux-4.03.orig/com32/lib/MCONFIG 2010-10-20 21:25:38.000000000 +0200
  2. +++ syslinux-4.03/com32/lib/MCONFIG 2011-01-22 00:29:01.978658237 +0100
  3. @@ -11,10 +11,10 @@ GCCOPT += $(call gcc_ok,-fPIE,-fPIC)
  4. GCCOPT += $(call gcc_ok,-fno-exceptions,)
  5. GCCOPT += $(call gcc_ok,-fno-asynchronous-unwind-tables,)
  6. GCCOPT += $(call gcc_ok,-fno-strict-aliasing,)
  7. -GCCOPT += $(call gcc_ok,-falign-functions=0,-malign-functions=0)
  8. -GCCOPT += $(call gcc_ok,-falign-jumps=0,-malign-jumps=0)
  9. -GCCOPT += $(call gcc_ok,-falign-labels=0,-malign-labels=0)
  10. -GCCOPT += $(call gcc_ok,-falign-loops=0,-malign-loops=0)
  11. +GCCOPT += $(call gcc_ok,-falign-functions=0,)
  12. +GCCOPT += $(call gcc_ok,-falign-jumps=0,)
  13. +GCCOPT += $(call gcc_ok,-falign-labels=0,)
  14. +GCCOPT += $(call gcc_ok,-falign-loops=0,)
  15. GCCOPT += $(call gcc_ok,-mpreferred-stack-boundary=2,)
  16. INCLUDE = -I.
  17. @@ -37,7 +37,8 @@ OPTFLAGS = -Os -march=i386 -falign-func
  18. -falign-labels=0 -ffast-math -fomit-frame-pointer
  19. WARNFLAGS = $(GCCWARN) -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
  20. -CFLAGS = $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS)
  21. +CFLAGS ?=
  22. +CFLAGS += $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS)
  23. LDFLAGS = -m elf32_i386
  24. .SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss