20 lines
828 B
Diff
20 lines
828 B
Diff
--- a/src/Makefile.in
|
|
+++ b/src/Makefile.in
|
|
@@ -84,6 +84,7 @@
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/stripe.Plo ./$(DEPDIR)/surface.Plo \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/triangle.Plo ./$(DEPDIR)/tribox3.Plo \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/vertex.Plo ./$(DEPDIR)/vopt.Plo
|
|
+HOST_COMPILE = $(CC_FOR_BUILD) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
|
|
@@ -673,7 +674,7 @@
|
|
$(COMPILE) -c $(srcdir)/predicates.c
|
|
|
|
predicates_init: predicates_init.c rounding.h
|
|
- $(COMPILE) $(srcdir)/predicates_init.c -o $(srcdir)/predicates_init
|
|
+ $(HOST_COMPILE) $(srcdir)/predicates_init.c -o $(srcdir)/predicates_init
|
|
|
|
predicates_init.h: predicates_init
|
|
./predicates_init > $(srcdir)/predicates_init.h
|