ef0d2e7e15
Add cross-compilation support for the rest.
20 lines
629 B
Text
20 lines
629 B
Text
$NetBSD: patch-bm,v 1.1 2007/08/15 19:26:39 joerg Exp $
|
|
|
|
--- config/util/Makefile.in.orig 2007-08-06 16:22:42.000000000 +0200
|
|
+++ config/util/Makefile.in
|
|
@@ -197,9 +197,15 @@ distclean-libtool:
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
+ifndef CROSS_COMPILING
|
|
makestrs$(EXEEXT): $(makestrs_OBJECTS) $(makestrs_DEPENDENCIES)
|
|
@rm -f makestrs$(EXEEXT)
|
|
$(LINK) $(makestrs_LDFLAGS) $(makestrs_OBJECTS) $(makestrs_LDADD) $(LIBS)
|
|
+else
|
|
+makestrs$(EXEEXT): $(makestrs_SOURCES) $(makestrs_DEPENDENCIES)
|
|
+ $(CC_FOR_BUILD) $(X_CFLAGS) $(CPPFLAGS_FOR_BUILD) \
|
|
+ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ makestrs.c
|
|
+endif
|
|
|
|
tags: TAGS
|
|
|