* [gentoo-commits] gentoo-x86 commit in sys-devel/clang/files: llvm-2.6-cflags.patch
@ 2010-03-18 21:33 Bernard Cafarelli (voyageur)
0 siblings, 0 replies; only message in thread
From: Bernard Cafarelli (voyageur) @ 2010-03-18 21:33 UTC (permalink / raw
To: gentoo-commits
voyageur 10/03/18 21:33:09
Added: llvm-2.6-cflags.patch
Log:
Remove forced -O3 -fomit-frame-pointer CFLAGS, bug #308145
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-devel/clang/files/llvm-2.6-cflags.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/files/llvm-2.6-cflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/files/llvm-2.6-cflags.patch?rev=1.1&content-type=text/plain
Index: llvm-2.6-cflags.patch
===================================================================
--- Makefile.rules.orig 2010-03-18 18:12:25.000000000 +0100
+++ Makefile.rules 2010-03-18 18:15:56.000000000 +0100
@@ -284,24 +284,9 @@
#--------------------------------------------------------------------
CPP.Defines :=
-# OPTIMIZE_OPTION - The optimization level option we want to build LLVM with
-# this can be overridden on the make command line.
-ifndef OPTIMIZE_OPTION
- ifneq ($(HOST_OS),MingW)
- OPTIMIZE_OPTION := -O3
- else
- OPTIMIZE_OPTION := -O2
- endif
-endif
ifeq ($(ENABLE_OPTIMIZED),1)
BuildMode := Release
- # Don't use -fomit-frame-pointer on Darwin or FreeBSD.
- ifneq ($(HOST_OS),FreeBSD)
- ifneq ($(HOST_OS),Darwin)
- OmitFramePointer := -fomit-frame-pointer
- endif
- endif
# Darwin requires -fstrict-aliasing to be explicitly enabled.
# Avoid -fstrict-aliasing on Darwin for now, there are unresolved issues
@@ -309,9 +294,6 @@
#ifeq ($(HOST_OS),Darwin)
# EXTRA_OPTIONS += -fstrict-aliasing -Wstrict-aliasing
#endif
- CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
- C.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
- LD.Flags += $(OPTIMIZE_OPTION)
else
BuildMode := Debug
CXX.Flags += -g
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-18 21:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 21:33 [gentoo-commits] gentoo-x86 commit in sys-devel/clang/files: llvm-2.6-cflags.patch Bernard Cafarelli (voyageur)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox