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.
37 lines
1.6 KiB
37 lines
1.6 KiB
18 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
18 years ago
|
# Filename: package/.../pam/hostcc.patch.cross
|
||
18 years ago
|
# Copyright (C) 2006 - 2007 The OpenSDE Project
|
||
18 years ago
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
use HOST_CC instead of CC when building the helpers to generate doc/
|
||
|
|
||
18 years ago
|
--- ./doc/specs/Makefile.in.orig 2007-03-24 23:25:53.000000000 +0100
|
||
|
+++ ./doc/specs/Makefile.in 2007-03-24 23:26:35.000000000 +0100
|
||
|
@@ -63,12 +63,12 @@
|
||
|
DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
|
||
18 years ago
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||
|
am__depfiles_maybe = depfiles
|
||
|
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||
|
+COMPILE = $(HOST_CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||
18 years ago
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||
|
- --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||
|
+ --mode=compile $(HOST_CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||
18 years ago
|
-CCLD = $(CC)
|
||
|
+CCLD = $(HOST_CC)
|
||
18 years ago
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
||
|
$(LDFLAGS) -o $@
|