components/erlang/Makefile
changeset 1605 7fc7910b6d94
parent 1496 f774cfa29f53
child 1645 ff50a80c552a
--- a/components/erlang/Makefile	Tue Dec 17 15:19:48 2013 -0800
+++ b/components/erlang/Makefile	Tue Dec 17 15:59:46 2013 -0800
@@ -70,7 +70,11 @@
 IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION_MAJOR).2.3
 
 # Built in SFW with gcc and builds cleanly now only with gcc
-COMPILER = gcc3
+COMPILER =	gcc
+# Parfait doesn't work with the GNU 4.7 compilers yet.
+ifeq   ($(strip $(PARFAIT_BUILD)),yes)
+COMPILER =	gcc3
+endif
 
 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS) -I/usr/include/gd2"