[llvm-commits] [patch] Fix for PR4427 compiler/buildsystem platform arch defines breaks LLVM_NATIVE_ARCH in config.h
Xerxes RĂ„nby
xerxes at zafena.se
Mon Jun 22 14:16:16 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4427
The problem are that projects who depends on simple arch defines like
#define X86
cant include TargetSelect.h and use InitializeNativeTarget() since the
macro will unfold to
InitializeTarget() instead of InitializeX86Target() and break the
compilation.
patch: http://llvm.org/bugs/attachment.cgi?id=3115
comments are welcome
Cheers
Xerxes
More information about the llvm-commits
mailing list