cc-abstract.patch 460 B

1234567891011121314
  1. diff -Nur linux-2.6.32.orig/Makefile linux-2.6.32/Makefile
  2. --- linux-2.6.32.orig/Makefile Thu Dec 3 04:50:57 2009
  3. +++ linux-2.6.32/Makefile Fri Dec 18 20:53:57 2009
  4. @@ -219,8 +219,8 @@
  5. else if [ -x /bin/bash ]; then echo /bin/bash; \
  6. else echo sh; fi ; fi)
  7. -HOSTCC = gcc
  8. -HOSTCXX = g++
  9. +HOSTCC ?= gcc
  10. +HOSTCXX ?= g++
  11. HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
  12. HOSTCXXFLAGS = -O2