Hello!

Don't use C++ where it isn't necessary, it breaks strict frameworks.

--- src/hyper/Makefile.in.orig  2010-08-01 18:46:11.000000000 +0400
+++ src/hyper/Makefile.in       2010-08-01 19:01:01.000000000 +0400
@@ -141,7 +141,7 @@
 .PRECIOUS: %.lo %.$(OBJEXT)
 
 %.$(OBJEXT) %.lo: %.c $(HEADERS)
-       $(CXXCOMPILE) -o $@ $(CFLAGS) ${CCF} $(axiom_includes) 
$(AXIOM_X11_CFLAGS) -I. $<
+       $(COMPILE) -o $@ $(CFLAGS) ${CCF} $(axiom_includes) $(AXIOM_X11_CFLAGS) 
-I. $<
 
 ${HYPER}/pages/ht.db: all-hyper-pre $(srcdir)/pages/*.pht
        @echo making ${HYPER}/pages from $(axiom_src_srcdir)/pages directory
@@ -169,17 +169,17 @@
        cp -p $< $@ && chmod +x $@
 
 ${OUTLIB}/ex2ht$(EXEEXT): $(ex2ht_objects) $(ex2ht_DEPENDENCIES)
-       ${CXXLINK} -o $@ $(ex2ht_objects) $(ex2ht_LDADD)
+       ${LINK} -o $@ $(ex2ht_objects) $(ex2ht_LDADD)
 
 $(OUTLIB)/htadd$(EXEEXT): $(htadd_objects) $(htadd_DEPENDENCIES)
-       ${CXXLINK} -o $@ $(htadd_objects) $(htadd_LDADD)
+       ${LINK} -o $@ $(htadd_objects) $(htadd_LDADD)
 
 ${OUTLIB}/hthits$(EXEEXT): $(hthits_objects) $(hthits_DEPENDENCIES)
-       ${CXXLINK} -o $@ $(hthits_objects) $(hthits_LDADD)
+       ${LINK} -o $@ $(hthits_objects) $(hthits_LDADD)
 
 
 $(OUTLIB)/hypertex$(EXEEXT): $(hypertex_objects) $(hypertex_DEPENDENCIES)
-        ${CXXLINK} -o $@ $(hypertex_objects) $(hypertex_LDADD)
+        ${LINK} -o $@ $(hypertex_objects) $(hypertex_LDADD)
 
 ${OUTLIB}/spadbuf$(EXEEXT): $(spadbuf_objects) $(spadbuf_DEPENDENCIES)
-       ${CXXLINK} -o $@ $(spadbuf_objects) $(spadbuf_LDADD)
+       ${LINK} -o $@ $(spadbuf_objects) $(spadbuf_LDADD)



-- 
HE CE3OH...

Attachment: pgpinrA7XZhS1.pgp
Description: PGP signature

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to