Temporary fix for 2.7/sparc build problems from maintainer. Should

be replaced with PICFLAGS and CXXPICFLAGS overrides when we start
tracking current and can use the new make.
This commit is contained in:
matt 2000-08-01 10:43:00 +00:00
parent aa1501e648
commit 40503b3179

View File

@ -1,6 +1,14 @@
--- config/cf/site.def.orig Fri Apr 28 08:03:58 2000 --- config/cf/site.def.orig Fri Apr 28 11:03:58 2000
+++ config/cf/site.def Sat Jun 10 16:23:46 2000 +++ config/cf/site.def Mon Jul 31 21:37:25 2000
@@ -62,11 +62,86 @@ @@ -58,15 +58,94 @@
# define HasCplusplus YES
# endif
+# ifdef SparcArchitecture
+# define PositionIndependentCFlags -fPIC
+# endif
+
#endif /* BeforeVendorCF */
#ifdef AfterVendorCF #ifdef AfterVendorCF
@ -14,12 +22,12 @@
# undef DefaultUserPath # undef DefaultUserPath
-# define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin:/usr/local/bin/mh:/site/local/scripts -# define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin:/usr/local/bin/mh:/site/local/scripts
+# define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin +# define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
+
+# define BuildMotifDemos NO +# define BuildMotifDemos NO
+ +
+/* Use the installed Imake but not the configuration files */ +/* Use the installed Imake but not the configuration files */
+# define ImakeCmd /usr/X11R6/bin/imake +# define ImakeCmd /usr/X11R6/bin/imake
+
+/* +/*
+ * Actually, the macro MakeMakeSubdirs is identical to one that you find + * Actually, the macro MakeMakeSubdirs is identical to one that you find
+ * in Imake.rules, but to avoid using stupid 'bootstrap' imake, we need to + * in Imake.rules, but to avoid using stupid 'bootstrap' imake, we need to