[ghc] drop --with-gcc

Jens Petersen petersen at fedoraproject.org
Fri Apr 13 14:27:55 UTC 2012


commit 5042efe9e9b2fefbd49335b1a1193c9f8194320d
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Apr 13 23:27:46 2012 +0900

    drop --with-gcc

 ghc.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ghc.spec b/ghc.spec
index 40060b6..c62c3ee 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -228,13 +228,12 @@ HSCOLOUR_SRCS = NO
 EOF
 
 export CFLAGS="${CFLAGS:-%optflags}"
-# specify gcc to avoid problems when bootstrapping with ccache
+# use --with-gcc=%{_bindir}/gcc when bootstrapping to avoid ccache hardcoding problem
 ./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
   --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
   --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
   --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
-  --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
-  --with-gcc=%{_bindir}/gcc
+  --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir}
 
 # >4 cpus tends to break build
 [ -z "$RPM_BUILD_NCPUS" ] && RPM_BUILD_NCPUS=$(%{_bindir}/getconf _NPROCESSORS_ONLN)
@@ -410,6 +409,7 @@ fi
 %changelog
 * Tue Apr 10 2012 Jens Petersen <petersen at redhat.com> - 7.4.1-1.1
 - BR clang not just llvm for ARM
+- drop --with-gcc
 - bootstrap build
 
 * Wed Feb 15 2012 Jens Petersen <petersen at redhat.com> - 7.4.1-1


More information about the scm-commits mailing list