From 4105a91c4841f836949ce0c4f1d3090b8b83ac2e Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Mon, 4 Jun 2012 01:56:10 +0300 Subject: fix compilation errors when bootstrapping with C++ --- config/nimrod.cfg | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'config') diff --git a/config/nimrod.cfg b/config/nimrod.cfg index c98f30f02..fdab40c6c 100755 --- a/config/nimrod.cfg +++ b/config/nimrod.cfg @@ -62,6 +62,7 @@ hint[LineTooLong]=off @if not bsd: # -fopenmp gcc.options.linker = "-ldl" + gpp.options.linker = "-ldl" clang.options.linker = "-ldl" tcc.options.linker = "-ldl" @else: @@ -83,24 +84,23 @@ icc.options.linker = "-cxxlib" tlsEmulation:on @end @end -gcc.options.debug = "-g3 -O0" @if macosx: tlsEmulation:on - @if not release: - gcc.options.always = "-w -fasm-blocks -O1" - @else: - gcc.options.always = "-w -fasm-blocks" - @end + gcc.options.always = "-w -fasm-blocks" + gpp.options.always = "-w -fasm-blocks" @else: - @if not release: - gcc.options.always = "-w" - @else: - gcc.options.always = "-w" - @end + gcc.options.always = "-w" + gpp.options.always = "-w" @end + gcc.options.speed = "-O3 -fno-strict-aliasing" gcc.options.size = "-Os" +gcc.options.debug = "-g3 -O0" + +gpp.options.speed = "-O3 -fno-strict-aliasing" +gpp.options.size = "-Os" +gpp.options.debug = "-g3 -O0" #passl = "-pg" # Configuration for the LLVM GCC compiler: -- cgit 1.4.1-2-gfad0