[llvm-commits] [compiler-rt] r157238 - /compiler-rt/trunk/make/platform/clang_linux.mk

Kostya Serebryany kcc at google.com
Tue May 22 00:56:09 PDT 2012


Author: kcc
Date: Tue May 22 02:56:09 2012
New Revision: 157238

URL: http://llvm.org/viewvc/llvm-project?rev=157238&view=rev
Log:
[asan] use  -fPIE -fno-builtin for building asan-rt

Modified:
    compiler-rt/trunk/make/platform/clang_linux.mk

Modified: compiler-rt/trunk/make/platform/clang_linux.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_linux.mk?rev=157238&r1=157237&r2=157238&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_linux.mk (original)
+++ compiler-rt/trunk/make/platform/clang_linux.mk Tue May 22 02:56:09 2012
@@ -63,8 +63,8 @@
 CFLAGS.full-x86_64 := $(CFLAGS) -m64
 CFLAGS.profile-i386 := $(CFLAGS) -m32
 CFLAGS.profile-x86_64 := $(CFLAGS) -m64
-CFLAGS.asan-i386 := $(CFLAGS) -m32
-CFLAGS.asan-x86_64 := $(CFLAGS) -m64
+CFLAGS.asan-i386 := $(CFLAGS) -m32 -fPIE -fno-builtin
+CFLAGS.asan-x86_64 := $(CFLAGS) -m64 -fPIE -fno-builtin
 CFLAGS.tsan-x86_64 := $(CFLAGS) -m64 -fPIE -fno-builtin
 
 # Use our stub SDK as the sysroot to support more portable building. For now we





More information about the llvm-commits mailing list