diff options
author | Johnny Chen <johnny.chen@apple.com> | 2012-01-10 00:41:11 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2012-01-10 00:41:11 +0000 |
commit | beac8f991f4a9610721f0579062310f147ee6420 (patch) | |
tree | b750a076ac76556aec5ca3a1a873d8ff9b3c266d /clang/lib/CodeGen/CGExprConstant.cpp | |
parent | 5cb98f1062552273c87be5e071994c631703351d (diff) | |
download | bcm5719-llvm-beac8f991f4a9610721f0579062310f147ee6420.tar.gz bcm5719-llvm-beac8f991f4a9610721f0579062310f147ee6420.zip |
Add a CFLAGS_EXTRAS make variable to be able to pass things (like '-DTEST_BLOCK_CAPTURED_VARS') to the compile phase.
Plus add a DYLIB_ONLY make variable that can be used to turn off compilation/building of a.out. Example:
[16:39:21] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make clean
rm -rf "a.out" "a.out.dSYM" main.o main.d a.o a.d liba.dylib liba.dylib.dSYM
[16:39:24] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make DYLIB_ONLY=YES
clang -gdwarf-2 -O0 -arch x86_64 -c -o a.o a.c
clang -gdwarf-2 -O0 -arch x86_64 a.o -install_name "@executable_path/liba.dylib" -dynamiclib -o "liba.dylib"
[16:39:30] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $
llvm-svn: 147821
Diffstat (limited to 'clang/lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions