make stamp.inplace-gcc-lib copy $(LD) instead of $(GccDir)ld.exe to avoid building...
[ghc-hetmet.git] / distrib / Makefile
index ee1b962..eff56a0 100644 (file)
@@ -15,7 +15,6 @@ include Makefile-vars
 
 install ::
        $(INSTALL_DIR) $(bindir)
-       (cd lib/$(platform); find . -type d -exec sh -c '$(INSTALL_DIR) $$0 $(libdir)/$$0' {} \; )
        (cd share; find . -type d -exec sh -c '$(INSTALL_DIR) $(datadir)/$$0' {} \; )
 
 install::
@@ -25,6 +24,7 @@ install::
        $(MAKE) -C rts       install DOING_BIN_DIST=YES
        $(MAKE) -C libraries install DOING_BIN_DIST=YES
        $(MAKE) -C compiler  install DOING_BIN_DIST=YES
+       $(INSTALL_DATA) $(INSTALL_OPTS) extra-gcc-opts $(libdir)
 
 install :: install-docs postinstall denounce