2.4.1-remove-icc-check.patch 1020 B

1234567891011121314151617181920212223
  1. --- a/getmachine
  2. +++ b/getmachine
  3. @@ -269,19 +269,11 @@
  4. makedir
  5. cat ../.config.$os > makefile
  6. use_icc=`type icc 2> /dev/null`
  7. - if [ "$use_icc" = "" ]
  8. - then
  9. findProcessor
  10. echo 'COMPILER=gcc' >> makefile
  11. echo "OPT=-O6 -mcpu=$processor -fomit-frame-pointer -ffast-math -malign-double" >> makefile
  12. echo 'CFLAGS=-Wall -I/usr/X11R6/include -DLINUX -Wno-strict-aliasing' >> makefile
  13. echo "LDFLAGS=$LINKFORSHARED" >> makefile
  14. - else
  15. - echo 'COMPILER=icc' >> makefile
  16. - echo 'OPT=-O2 -ipo' >> makefile
  17. - echo 'CFLAGS=-I/opt/intel/compiler50/ia32/include -I/usr/X11R6/include -DLINUX' >> makefile
  18. - echo "LDFLAGS=$LINKFORSHARED -ipo" >> makefile
  19. - fi
  20. echo 'SCANDIR=' >> makefile
  21. echo 'INCLUDE=$(TIFFINCLUDE) -I$(PNGINCLUDE) -I$(PYTHONINCLUDE)' >> makefile
  22. echo 'LIBRARY=$(LIBTIFF) $(LIBPNG) -L$(LIBPYTHON)' >> makefile