diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-12-30 19:19:43 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-12-30 19:19:43 +0000 |
commit | 0e14fd92998c2da3e29545ce85df204c82b51642 (patch) | |
tree | 0af12dad368a4835d12e33fca8152a87e478d0a2 /lang/gcc48/Makefile | |
parent | Add dependency on pkgconfig. (diff) |
When building the gcc ports using a full bootstrap, tell the configure
script to assume the BUILD_CONFIG is set to bootstrap-debug, instead of
letting it auto-detect.
With clang 3.5.0 this auto-detection can fail, due to a discrepancy [1]
[2] in its debug information, when objects are produced with and without
-g. When the auto-detection fails, gcc will compare objects with full
debug information during the stage comparisons, and this sometimes
causes those stage comparisons to fail unexpectedly.
[1] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141222/250134.html
[2] http://llvm.org/PR22046
Approved by: gerald (maintainer)
Notes
Notes:
svn path=/head/; revision=375846
Diffstat (limited to 'lang/gcc48/Makefile')
-rw-r--r-- | lang/gcc48/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index ab9d4650310d..bab476da6038 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -69,6 +69,7 @@ GNU_CONFIGURE= yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap .else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean .endif CONFIGURE_ARGS+=--disable-nls \ |