#3479: Build from source fails with variables passed to configure
---------------------------------+------------------------------------------
Reporter: atler | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 6.10.4
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by atler):
Actually I found the cause for this issue. All passed variables had space
at the end, for example CFLAGS="-O2 -fno-strict-aliasing -fwrapv
-march=i686 " which is stored in $CONFIGURE_ARGS as 'CFLAGS=-O2 -fno-
strict-aliasing -fwrapv -march=i686 '. In mk/cabal-flags.mk $(space)' is
used as a configure args separtor so it breaks in this case. I couldn't
think of any simple solution to handle it (using only functions provided
by make) but simple shell script would do the thing.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3479#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs