mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
libsasl: cross build support.
This commit is contained in:
parent
5c84d31397
commit
664cb083bc
1 changed files with 23 additions and 0 deletions
23
srcpkgs/libsasl/patches/cross-makemd5.patch
Normal file
23
srcpkgs/libsasl/patches/cross-makemd5.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
--- include/Makefile.in.orig 2013-05-05 11:00:08.859341666 +0200
|
||||||
|
+++ include/Makefile.in 2013-05-05 11:01:00.041995963 +0200
|
||||||
|
@@ -113,14 +113,14 @@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top
|
||||||
|
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
||||||
|
am__depfiles_maybe = depfiles
|
||||||
|
am__mv = mv -f
|
||||||
|
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
+COMPILE = cc $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
+ $(CPPFLAGS) $(AM_CFLAGS) $(HOSTCFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||||
|
- --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||||
|
- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
-CCLD = $(CC)
|
||||||
|
+ --mode=compile cc $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||||
|
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(HOSTCFLAGS)
|
||||||
|
+CCLD = cc
|
||||||
|
LINK = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
|
||||||
|
- $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
+ $(CCLD) $(AM_CFLAGS) $(HOSTCFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
SOURCES = $(makemd5_SOURCES)
|
||||||
|
DIST_SOURCES = $(makemd5_SOURCES)
|
||||||
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
Loading…
Add table
Reference in a new issue