X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=4d93905e33dc7fc9803bf4dec282400f7dd827c0;hb=f2935c8466a1d88354b1be4a7ccf60dc90fb1e20;hp=10911e6934c3e740a87dae97d95d20f8d942d52c;hpb=b3199f6977fdaed6f3f898aee14bd0af61140cf5;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 10911e6..4d93905 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -540,18 +540,10 @@ endif # the flag --with-gcc= instead. The reason is that the configure script # needs to know which gcc you're using in order to perform its tests. -HaveGcc = @HaveGcc@ -UseGcc = YES WhatGccIsCalled = @WhatGccIsCalled@ GccVersion = @GccVersion@ -GccLT34 = @GccLT34@ -ifeq "$(strip $(HaveGcc))" "YES" -ifneq "$(strip $(UseGcc))" "YES" - CC = cc -else - CC = $(WhatGccIsCalled) -endif -endif +GccLT34 = @GccLT34@ +CC = $(WhatGccIsCalled) # C compiler and linker flags from configure (e.g. -m to select # correct C compiler backend). The stage number is the stage of GHC @@ -659,6 +651,10 @@ LD_X = @LdXFlag@ # overflowing command-line length limits. LdIsGNULd = @LdIsGNULd@ +# Set to YES if ld has the --build-id flag. Sometimes we need to +# disable it with --build-id=none. +LdHasBuildId = @LdHasBuildId@ + # On MSYS, building with SplitObjs=YES fails with # ar: Bad file number # see #3201. We need to specify a smaller max command-line size