[llvm-commits] [llvm-gcc-4.2] r93424 - /llvm-gcc-4.2/trunk/GNUmakefile

Stuart Hastings stuart at apple.com
Thu Jan 14 09:08:57 PST 2010


On Jan 14, 2010, at 2:20 AM, Bill Wendling wrote:

> Author: void
> Date: Thu Jan 14 04:20:19 2010
> New Revision: 93424
>
> URL: http://llvm.org/viewvc/llvm-project?rev=93424&view=rev
> Log:
> Use ENABLE_ASSERTIONS throughout.

I had a similar, yet untested patch, but you're faster than I am.

I'll copy this to the Zoidberg branch if you haven't beaten me to it.

Thank you,

stuart

>
> Modified:
>    llvm-gcc-4.2/trunk/GNUmakefile
>
> Modified: llvm-gcc-4.2/trunk/GNUmakefile
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/GNUmakefile?rev=93424&r1=93423&r2=93424&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm-gcc-4.2/trunk/GNUmakefile (original)
> +++ llvm-gcc-4.2/trunk/GNUmakefile Thu Jan 14 04:20:19 2010
> @@ -60,11 +60,9 @@
> ENABLE_LLVM = false
> endif
>
> -# Unless assertions are forced on in the GMAKE command line,  
> disable them.
> -ifdef ENABLE_ASSERTIONS
> -LLVM_ASSERTIONS := yes
> -else
> -LLVM_ASSERTIONS := no
> +# Unless assertions are forced on in the GMAKE command line, enable  
> them.
> +ifndef ENABLE_ASSERTIONS
> +ENABLE_ASSERTIONS := yes
> endif
>
> ifndef LLVMCORE_PATH
> @@ -87,7 +85,7 @@
> 	cd $(OBJROOT) && \
> 	  $(SRC)/build_gcc "$(RC_ARCHS)" "$(TARGETS)" \
> 	    $(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) $(ENABLE_LLVM) \
> -	    $(LLVM_ASSERTIONS) $(LLVMCORE_PATH) \
> +	    $(ENABLE_ASSERTIONS) $(LLVMCORE_PATH) \
> 	    $(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion)
>
> # LLVM LOCAL end
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list