OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../pam/hostcc.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. use HOST_CC instead of CC when building the helpers to generate doc/
  17. --- ./doc/specs/Makefile.in.orig 2006-09-10 16:20:54.000000000 +0200
  18. +++ ./doc/specs/Makefile.in 2006-09-10 16:31:27.000000000 +0200
  19. @@ -62,12 +62,12 @@
  20. DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
  21. depcomp = $(SHELL) $(top_srcdir)/depcomp
  22. am__depfiles_maybe = depfiles
  23. -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  24. +COMPILE = $(HOST_CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  25. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  26. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  27. +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(HOST_CC) $(DEFS) \
  28. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  29. $(AM_CFLAGS) $(CFLAGS)
  30. -CCLD = $(CC)
  31. +CCLD = $(HOST_CC)
  32. LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  33. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  34. YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)